Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼9.01ms] Passed 4 tests
An overview of server-side resources used by Jellyfish backdrop
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▼0.01 | 22.85 ▼21.89 |
Dashboard /wp-admin | 3.39 ▲0.08 | 47.38 ▲0.18 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 49.56 ▼2.05 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 97.71 ▼8.58 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 34.79 ▼3.52 |
Backdrop Slideshow /wp-admin/options-general.php?page=jellyfish-backdrop | 3.31 | 33.27 |
Server storage [IO: ▲0.54MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 48 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
jellyfish_backdrop_version |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Jellyfish backdrop
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.22 ▼1.40 | 1.74 ▼0.60 | 40.06 ▼2.65 |
Dashboard /wp-admin | 2,210 ▲19 | 5.85 ▲0.77 | 106.74 ▲3.96 | 39.21 ▼6.17 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.02 ▲0.01 | 39.18 ▲4.20 | 35.10 ▲0.25 |
Add New Post /wp-admin/post-new.php | 1,545 ▲3 | 18.15 ▼0.15 | 602.94 ▼42.96 | 60.89 ▲6.90 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.24 ▲0.02 | 97.94 ▼6.51 | 43.00 ▼2.39 |
Backdrop Slideshow /wp-admin/options-general.php?page=jellyfish-backdrop | 1,059 | 3.09 | 48.97 | 72.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- jellyfish_backdrop_version
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/jellyfish-backdrop/jellyfish-backdrop.php:139
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: fullscreen, gallery, background, slideshow, image
jellyfish-backdrop/jellyfish-backdrop.php Passed 13 tests
"Jellyfish backdrop" version 0.7.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
89 characters long description:
Add fullscreen background images and background slideshows to any WordPress page element.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin9,622 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 10 | 789 | 787 | 7,042 |
PHP | 3 | 325 | 907 | 1,382 |
CSS | 6 | 161 | 98 | 1,018 |
PO File | 5 | 45 | 55 | 180 |
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.54 |
Average class complexity | 103.33 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 262.00 |
Average method complexity | 4.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 94 | |
▷ Static methods | 2 | 2.13% |
▷ Public methods | 94 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
16 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
meta-box-class/js/select2/select2x2.png | 0.83KB | 0.77KB | ▼ 6.15% |
meta-box-class/js/jquery-ui/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
meta-box-class/js/jquery-ui/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
meta-box-class/js/jquery-ui/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
meta-box-class/js/jquery-ui/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |