Modula 2.5.4

Does Modula work with WordPress 5.8.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
1PHP notices
No JavaScript exceptions
1Page failed to load
  • 1 403 Forbidden
No resource errors
Performance

Memory usage: 421.79 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version5.8.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 90,000+
WordPress.org page https://wordpress.org/plugins/modula-best-grid-gallery/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 13

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=modula-best-grid-gallery%2FModula.php&plugin_status=all&paged=1&s&_wpnonce=d1ef84ca95
Aspect after-activation
HTTP status 200
Load time 0.637 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

Modula

Page screenshot: Modula
URL /wp-admin/edit.php?post_type=modula-gallery
Aspect menu-item
HTTP status 200
Load time 0.313 s
Memory usage 3.49 MiB
JS errors None
Resource errors None

Modula → Suggest a feature

Page screenshot: Modula → Suggest a feature
URL https://docs.google.com/forms/d/e/1FAIpQLSc5eAZbxGROm_WSntX_3JVji2cMfS3LIbCNDKG1yF_VNe3R4g/viewform
Aspect menu-item-tab
HTTP status 200
Load time 1.270 s
Memory usage N/A
JS errors None
Resource errors None

Modula → Albums

Page screenshot: Modula → Albums
URL /wp-admin/edit.php?post_type=modula-gallery&page=
Aspect menu-item
HTTP status 403
Load time 0.157 s
Memory usage N/A
JS errors None
Resource errors None

Modula → Settings

Page screenshot: Modula → Settings
URL /wp-admin/edit.php?post_type=modula-gallery&page=modula
Aspect menu-item
HTTP status 200
Load time 0.398 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

Modula → Settings → Misc

Page screenshot: Modula → Settings → Misc
URL /wp-admin/edit.php?post_type=modula-gallery&page=modula&modula-tab=misc
Aspect menu-item-tab
HTTP status 200
Load time 0.189 s
Memory usage 3.49 MiB
JS errors None
Resource errors None

Modula → Settings → Earn Money

Page screenshot: Modula → Settings → Earn Money
URL /wp-admin/edit.php?post_type=modula-gallery&page=modula&modula-tab=affiliate
Aspect menu-item-tab
HTTP status 200
Load time 0.169 s
Memory usage 3.46 MiB
JS errors None
Resource errors None

Modula → Import/Export

Page screenshot: Modula → Import/Export
URL /wp-admin/edit.php?post_type=modula-gallery&page=modula-import-export
Aspect menu-item
HTTP status 200
Load time 0.155 s
Memory usage 3.41 MiB
JS errors None
Resource errors None

Modula → Migrate

Page screenshot: Modula → Migrate
URL /wp-admin/edit.php?post_type=modula-gallery&page=modula&modula-tab=importer
Aspect menu-item
HTTP status 200
Load time 0.152 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Modula → Extensions

Page screenshot: Modula → Extensions
URL /wp-admin/edit.php?post_type=modula-gallery&page=modula-addons
Aspect menu-item
HTTP status 200
Load time 0.820 s
Memory usage 3.46 MiB
JS errors None
Resource errors None

Modula → Free vs PRO

Page screenshot: Modula → Free vs PRO
URL /wp-admin/edit.php?post_type=modula-gallery&page=modula-lite-vs-pro
Aspect menu-item
HTTP status 200
Load time 0.218 s
Memory usage 3.41 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.236 s
Memory usage 3.09 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 1.794 s
Memory usage 4.93 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.330 s0.450 s+0.120 s3.08 MiB3.56 MiB+ 485.39 KiB
/wp-admin/edit.php0.184 s0.370 s+0.186 s3.11 MiB3.59 MiB+ 493.13 KiB
/wp-admin/post-new.php0.924 s1.088 s+0.164 s5.27 MiB5.76 MiB+ 506.22 KiB
/wp-admin/upload.php0.395 s0.402 s+0.007 s3.03 MiB3.44 MiB+ 420.57 KiB
/wp-admin/options-writing.php0.152 s0.174 s+0.022 s3.02 MiB3.42 MiB+ 403.19 KiB
/wp-admin/media-new.php0.245 s0.229 s-0.016 s3.01 MiB3.42 MiB+ 420.63 KiB
/wp-admin/edit-tags.php?taxonomy=category0.195 s0.231 s+0.036 s3.04 MiB3.46 MiB+ 430.52 KiB
/wp-admin/post-new.php?post_type=page1.007 s0.719 s-0.288 s5.26 MiB5.75 MiB+ 505.18 KiB
/wp-admin/options-discussion.php0.303 s0.295 s-0.008 s3 MiB3.41 MiB+ 420.63 KiB
/wp-admin/edit-comments.php0.295 s0.240 s-0.055 s3.04 MiB3.45 MiB+ 419.73 KiB
/0.304 s0.295 s-0.009 s2.96 MiB3.09 MiB+ 134.48 KiB
Average 0.394 s0.408 s+0.014 s3.44 MiB3.85 MiB+ 421.79 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

JavaScript
PHP
CSS
SVG
Language % Lines of code Comment lines Files
JavaScript39.5%16,3034,08550
PHP24.6%10,1492,70960
CSS23.8%9,81851816
SVG9.5%3,92727
PO File2.2%9204851
Sass0.3%11501
JSX0.1%4792
JSON0.1%3301
Total 41,312 7,808 138

PHP Code Analysis | More results »

Lines of code 9,424
Total complexity 1,934
Median class complexity 33.0
Median method complexity 2.0
Most complex class Modula_Plugin_Usage_Tracker
Most complex function Modula_Field_Builder::_render_field()
Classes 44
Methods 396
Functions 23

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Options wp_options 4

Custom Post Types 1

ID Name
modula-galleryGalleries

Sidebar Widgets 1

ID Name
modula_gallery_widgetModula Gallery

Meta Boxes

{
    "modula-gallery": {
        "submitdiv": {
            "title": "Publish",
            "context": "side"
        },
        "modula-defaults-upsell": {
            "title": "Modula Defaults Addon",
            "context": "side"
        },
        "modula-sorting-upsell": {
            "title": "Gallery sorting",
            "context": "side"
        },
        "modula-debug": {
            "title": "Debug gallery",
            "context": "side"
        },
        "modula-albums-upsell": {
            "title": "Albums Upsell",
            "context": "normal"
        },
        "modula-preview-gallery": {
            "title": "Gallery",
            "context": "normal"
        },
        "modula-settings": {
            "title": "Settings",
            "context": "normal"
        }
    }
}

PHP Error Log 1 lines

[14-Sep-2021 13:16:05 UTC] PHP Notice:  wp_enqueue_script() was called <strong>incorrectly</strong>. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 5663
See also: All tests for this plugin, How to Hide Modula Admin Menus and Meta Boxes