Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.30MB] [CPU: ▲0.06ms] Passed 4 tests
An overview of server-side resources used by Meow Lightbox
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.25 | 35.04 ▼4.78 |
Dashboard /wp-admin | 3.66 ▲0.35 | 52.70 ▲3.02 |
Posts /wp-admin/edit.php | 3.71 ▲0.35 | 53.48 ▲6.07 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.29 | 89.23 ▼1.93 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 38.72 ▲3.94 |
Lightbox /wp-admin/admin.php?page=mwl_settings | 3.50 | 39.77 |
Dashboard /wp-admin/admin.php?page=meowapps-main-menu | 3.70 | 58.96 |
Server storage [IO: ▲0.95MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 62 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
mwl_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Meow Lightbox
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲90 | 14.71 ▲0.50 | 2.44 ▲0.85 | 37.06 ▼6.28 |
Dashboard /wp-admin | 2,248 ▲68 | 5.51 ▼0.12 | 96.09 ▼4.41 | 41.84 ▼1.66 |
Posts /wp-admin/edit.php | 2,153 ▲53 | 1.96 ▼0.06 | 40.26 ▼0.46 | 36.96 ▲5.27 |
Add New Post /wp-admin/post-new.php | 1,585 ▲59 | 25.06 ▲2.10 | 609.07 ▼13.61 | 65.97 ▲20.86 |
Media Library /wp-admin/upload.php | 1,447 ▲44 | 4.14 ▼0.04 | 100.63 ▲0.67 | 42.96 ▼3.55 |
Lightbox /wp-admin/admin.php?page=mwl_settings | 1,518 | 11.95 | 288.20 | 45.72 |
Dashboard /wp-admin/admin.php?page=meowapps-main-menu | 5,762 | 11.91 | 165.28 | 74.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- mwl_options
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'DiDom\ode' not found in wp-content/plugins/meow-lightbox/vendor/imangazaliev/didom/src/DiDom/Element.php:19
- > PHP Warning
require_once(MWL_PATH/vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/meow-lightbox/classes/core.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'MWL_PATH/vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/meow-lightbox/classes/core.php on line 3
- > PHP Fatal error
require(): Failed opening required 'MWL_PATH/classes/core.php' (include_path='.:/usr/share/php') in wp-content/plugins/meow-lightbox/classes/init.php on line 32
- > PHP Warning
Use of undefined constant MWL_PATH - assumed 'MWL_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/meow-lightbox/classes/core.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'MeowCommon_Admin' not found in wp-content/plugins/meow-lightbox/classes/admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/meow-lightbox/meow-lightbox.php:20
- > PHP Warning
Use of undefined constant MWL_PATH - assumed 'MWL_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/meow-lightbox/classes/init.php on line 15
- > PHP Warning
require(MWL_PATH/classes/core.php): failed to open stream: No such file or directory in wp-content/plugins/meow-lightbox/classes/init.php on line 32
- > PHP Fatal error
Uncaught Error: Class 'DiDom\ode' not found in wp-content/plugins/meow-lightbox/vendor/imangazaliev/didom/src/DiDom/DocumentFragment.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: Please add descriptions for these screenshots #2, #3 in meow-lightbox/assets to your readme.txt
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
meow-lightbox/meow-lightbox.php Passed 13 tests
The entry point to "Meow Lightbox" version 5.0.9 is a PHP file that has certain tags in its header comment area
43 characters long description:
Lightbox designed by and for photographers.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin7,462 lines of code in 52 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 35 | 1,414 | 2,030 | 5,775 |
Markdown | 5 | 596 | 0 | 1,155 |
PO File | 1 | 37 | 37 | 191 |
JSON | 3 | 0 | 0 | 171 |
JavaScript | 6 | 23 | 65 | 168 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 39.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 249.00 |
Average method complexity | 3.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 28 | |
▷ Abstract classes | 1 | 3.57% |
▷ Concrete classes | 27 | 96.43% |
▷ Final classes | 0 | 0.00% |
Methods | 382 | |
▷ Static methods | 63 | 16.49% |
▷ Public methods | 346 | 90.58% |
▷ Protected methods | 30 | 7.85% |
▷ Private methods | 6 | 1.57% |
Functions | 17 | |
▷ Named functions | 4 | 23.53% |
▷ Anonymous functions | 13 | 76.47% |
Constants | 32 | |
▷ Global constants | 28 | 87.50% |
▷ Class constants | 4 | 12.50% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin