Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.95ms] Passed 4 tests
Server-side resources used by Full Window Interative Slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 40.63 ▼0.05 |
Dashboard /wp-admin | 3.33 ▲0.02 | 49.86 ▼2.48 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.36 ▼2.95 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 88.45 ▼18.30 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.76 ▲4.08 |
Add image /wp-admin/admin.php?page=full-window-interactive-slider | 3.30 | 31.67 |
Image list /wp-admin/admin.php?page=main_menu | 3.28 | 35.96 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 28 new files
Database: 2 new tables, 9 new options
New tables |
---|
wp_nt_fwms_slides |
wp_nt_fwms_coordinates |
New WordPress options |
---|
can_compress_scripts |
nt_fwms_db_version |
nt_fwms_coordinates_db_version |
widget_theysaidso_widget |
nt_fwms_version |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Full Window Interative Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲66 | 14.27 ▼0.17 | 2.52 ▲0.44 | 39.39 ▼0.65 |
Dashboard /wp-admin | 2,232 ▲52 | 5.61 ▼0.05 | 87.61 ▼0.42 | 38.28 ▼7.52 |
Posts /wp-admin/edit.php | 2,134 ▲34 | 2.00 ▼0.11 | 36.52 ▼3.46 | 33.88 ▼6.02 |
Add New Post /wp-admin/post-new.php | 1,564 ▲37 | 18.34 ▼4.63 | 643.78 ▼1.85 | 61.71 ▲6.54 |
Media Library /wp-admin/upload.php | 1,434 ▲37 | 4.22 ▼0.10 | 98.31 ▼5.11 | 43.76 ▲1.79 |
Add image /wp-admin/admin.php?page=full-window-interactive-slider | 1,059 | 3.00 | 42.46 | 28.81 |
Image list /wp-admin/admin.php?page=main_menu | 1,000 | 2.06 | 27.27 | 30.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=full-window-interactive-slider
- > Notice in wp-content/plugins/full-window-interactive-slider/admin/add-image.php+128
Undefined variable: hidden_field_name
SRP 0% 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× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/full-window-interactive-slider/public/partials/full-window-interactive-slider-public-display.php
- > /wp-content/plugins/full-window-interactive-slider/admin/partials/plugin-full-window-interactive-slider-display.php
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/full-window-interactive-slider/templates/header-full-window.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/full-window-interactive-slider/admin/add-image.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/full-window-interactive-slider/templates/header-full-window.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/full-window-interactive-slider/full-window-interactive-slider.php:29
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/full-window-interactive-slider/public/partials/full-window-interactive-slider-public-display.php on line 20
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/full-window-interactive-slider/admin/images-list.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
8 plugin tags: responsive, full window, mapped, slider, interactive...
full-window-interactive-slider/full-window-interactive-slider.php Passed 13 tests
The entry point to "Full Window Interative Slider" version 1.0.1 is a PHP file that has certain tags in its header comment area
60 characters long description:
Use this plugin to make full window size interactive sliders
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,257 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 183 | 606 | 719 |
JavaScript | 3 | 83 | 184 | 369 |
CSS | 2 | 4 | 31 | 169 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 4.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 1.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 2 | 4.65% |
▷ Public methods | 38 | 88.37% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 11.63% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/pin.png | 10.08KB | 4.31KB | ▼ 57.25% |