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-3d-flux-slider-template/nextgen-3D-flux-slider-template.php+16
Methods with the same name as their class will not be constructors in a future version of PHP; ngg3DFluxSliderview has a deprecated constructor
Server metrics [RAM: ▼1.93MB] [CPU: ▼55.49ms] Passed 4 tests
Server-side resources used by NextGEN 3D and 2D Animated Flux Slider Template
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 4.85 ▼43.84 |
Dashboard /wp-admin | 2.08 ▼1.22 | 5.86 ▼45.90 |
Posts /wp-admin/edit.php | 2.08 ▼1.27 | 5.74 ▼44.39 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.80 | 6.90 ▼87.84 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 5.80 ▼36.10 |
NextGen 3D Slider /wp-admin/options-general.php?page=ngg-3dfluxslider | 2.08 | 5.12 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 11 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
ng_3dfluxslider_pagination |
db_upgraded |
ng_3dfluxslider_delay |
ng_3dfluxslider_caption |
theysaidso_admin_options |
ng_3dfluxslider_controls |
ng_3dfluxslider_transitions |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for NextGEN 3D and 2D Animated Flux Slider Template
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,927 ▲127 | 13.77 ▼0.64 | 10.36 ▲8.49 | 44.91 ▲0.52 |
Dashboard /wp-admin | 2,210 ▲4 | 5.83 ▼0.03 | 103.94 ▼5.75 | 43.07 ▲0.02 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.03 | 38.76 ▲4.15 | 33.75 ▼2.50 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 21.42 ▲3.73 | 855.48 ▲155.23 | 58.43 ▼22.14 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.24 ▲0.10 | 97.00 ▼7.66 | 41.49 ▼9.29 |
NextGen 3D Slider /wp-admin/options-general.php?page=ngg-3dfluxslider | 1,243 | 5.67 | 148.23 | 41.43 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/nextgen-3d-flux-slider-template/nextgen-3D-flux-slider-template.php+16
Methods with the same name as their class will not be constructors in a future version of PHP; ngg3DFluxSliderview has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 11 options
- db_upgraded
- ng_3dfluxslider_pagination
- ng_3dfluxslider_controls
- widget_recent-posts
- widget_theysaidso_widget
- ng_3dfluxslider_transitions
- widget_recent-comments
- theysaidso_admin_options
- ng_3dfluxslider_caption
- ng_3dfluxslider_delay
- ...
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=ngg-3dfluxslider
- > Deprecated in wp-content/plugins/nextgen-3d-flux-slider-template/nextgen-3D-flux-slider-template.php+16
Methods with the same name as their class will not be constructors in a future version of PHP; ngg3DFluxSliderview has a deprecated constructor
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ngg-3dfluxslider
- > Deprecated in wp-content/plugins/nextgen-3d-flux-slider-template/nextgen-3D-flux-slider-template.php+47
Function create_function() is deprecated
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
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/nextgen-3d-flux-slider-template/template-nggsliderview.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nextgen-3d-flux-slider-template/admin-settings.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nextgen-3d-flux-slider-template/admin-settings.php:9
- > 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 take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=ngg-3dfluxslider
- > 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=ngg-3dfluxslider
- > 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=ngg-3dfluxslider
- > 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=ngg-3dfluxslider
- > 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=ngg-3dfluxslider
- > 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=ngg-3dfluxslider
- > 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 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: Too many tags (20 tag instead of maximum 10); only the first 5 tags are used in your directory listing
nextgen-3d-flux-slider-template/nextgen-3D-flux-slider-template.php 85% from 13 tests
"NextGEN 3D and 2D Animated Flux Slider Template" version 1.1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("nextgen-3d-flux-slider-template.php" instead of "nextgen-3D-flux-slider-template.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 154 characters long)
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
There were no executable files found in this plugin307 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 41 | 24 | 223 |
JavaScript | 1 | 1 | 7 | 61 |
CSS | 1 | 2 | 0 | 23 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 3.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin