Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/nextgen-flex-slider-template/nextgen-flex-slider-template.php+14
Methods with the same name as their class will not be constructors in a future version of PHP; nggSliderview has a deprecated constructor
Server metrics [RAM: ▼1.92MB] [CPU: ▼59.91ms] Passed 4 tests
A check of server-side resources used by Responsive NextGEN Flex Slider Template
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 4.85 ▼37.67 |
Dashboard /wp-admin | 2.09 ▼1.25 | 5.35 ▼59.37 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 6.96 ▼45.30 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 5.68 ▼97.31 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 6.01 ▼29.90 |
NextGen Slider /wp-admin/options-general.php?page=ng-slider | 2.10 | 6.09 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 13 new options
New WordPress options |
---|
ng_slider_order |
ng_slider_direction_nav |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
ng_slider_slideshow_speed |
ng_slider_display_content |
widget_recent-comments |
ng_slider_theme |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Responsive NextGEN Flex Slider Template
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,902 ▲116 | 13.58 ▼0.61 | 9.23 ▲7.30 | 44.57 ▲1.17 |
Dashboard /wp-admin | 2,222 ▲19 | 5.80 ▼0.11 | 98.26 ▼6.10 | 38.49 ▼3.99 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▼0.00 | 39.37 ▼2.11 | 36.02 ▲1.67 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.32 ▲5.65 | 680.62 ▲43.06 | 63.26 ▼7.26 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.22 ▼0.01 | 106.76 ▲3.45 | 47.64 ▼0.02 |
NextGen Slider /wp-admin/options-general.php?page=ng-slider | 1,442 | 5.57 | 157.08 | 42.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/nextgen-flex-slider-template/nextgen-flex-slider-template.php+14
Methods with the same name as their class will not be constructors in a future version of PHP; nggSliderview has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 13 options
- ng_slider_direction_nav
- ng_slider_pagination
- ng_slider_slideshow_speed
- widget_recent-comments
- ng_slider_display_content
- ng_slider_us_width_for_img_slider
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- ...
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=ng-slider
- > Deprecated in wp-content/plugins/nextgen-flex-slider-template/nextgen-flex-slider-template.php+14
Methods with the same name as their class will not be constructors in a future version of PHP; nggSliderview has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=ng-slider
- > Deprecated in wp-content/plugins/nextgen-flex-slider-template/nextgen-flex-slider-template.php+52
Function create_function() is deprecated
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/nextgen-flex-slider-template/template-nggsliderview.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nextgen-flex-slider-template/admin-settings.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nextgen-flex-slider-template/admin-settings.php:8
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=ng-slider
- > Network (severe)
https://wpdevsnippets.com/plugin-images/icon_doc_find.png - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=ng-slider
- > Network (severe)
https://wpdevsnippets.com/plugin-images/icon_wordpress_blue.png - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=ng-slider
- > Network (severe)
https://wpdevsnippets.com/plugin-images/icon_person_help.png - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=ng-slider
- > Network (severe)
https://wpdevsnippets.com/plugin-images/icon_thumb_up.png - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=ng-slider
- > Network (severe)
https://wpdevsnippets.com/plugin-images/btn_donate.gif - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=ng-slider
- > Other (severe) in unknown
chrome-error://chromewebdata/ - Refused to display 'https://developers.google.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 16 tag instead of maximum 10
nextgen-flex-slider-template/nextgen-flex-slider-template.php 92% from 13 tests
"Responsive NextGEN Flex Slider Template" version 1.7's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 142 characters long)
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
Everything looks great! No dangerous files found in this plugin879 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 119 | 105 | 465 |
PHP | 3 | 80 | 46 | 381 |
JavaScript | 1 | 0 | 5 | 33 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/blue/prev-next.png | 3.01KB | 1.73KB | ▼ 42.58% |
images/blue/flex-slide-nav.png | 1.16KB | 1.11KB | ▼ 4.71% |
images/grey/bg_direction_nav.png | 1.17KB | 1.13KB | ▼ 3.35% |
images/black/bg_direction_nav.png | 1.82KB | 0.79KB | ▼ 56.38% |