Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼1.29ms] Passed 4 tests
Server-side resources used by WP Featherlight - A Simple jQuery Lightbox
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 40.22 ▲1.01 |
Dashboard /wp-admin | 3.38 ▲0.07 | 53.74 ▲2.36 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 52.53 ▲1.32 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 93.29 ▼9.86 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 38.67 ▲5.18 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Featherlight - A Simple jQuery Lightbox
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,897 ▲136 | 13.50 ▼1.09 | 12.44 ▲10.72 | 45.75 ▲3.03 |
Dashboard /wp-admin | 2,198 ▲18 | 5.56 ▼0.14 | 84.76 ▼4.31 | 36.27 ▼7.68 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.05 | 35.69 ▼2.12 | 34.73 ▲1.88 |
Add New Post /wp-admin/post-new.php | 6,245 ▲4,712 | 18.87 ▼4.31 | 919.13 ▲223.47 | 60.15 ▼9.64 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.24 ▲0.01 | 101.56 ▼7.15 | 48.21 ▼1.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function checked() in wp-content/plugins/wp-featherlight/admin/views/meta-box.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_featherlight() in wp-content/plugins/wp-featherlight/includes/constants.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 26 tag instead of maximum 10
wp-featherlight/wp-featherlight.php Passed 13 tests
"WP Featherlight - A Simple jQuery Lightbox" version 1.3.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
72 characters long description:
An ultra lightweight jQuery lightbox for WordPress images and galleries.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin2,417 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 10 | 239 | 358 | 1,495 |
CSS | 4 | 12 | 28 | 476 |
PHP | 7 | 100 | 555 | 326 |
Markdown | 3 | 61 | 0 | 120 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 9.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 1.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 28 | 71.79% |
▷ Protected methods | 11 | 28.21% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 4 | 80.00% |
▷ Class constants | 1 | 20.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected