Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼2.47ms] Passed 4 tests
This is a short check of server-side resources used by Responsive Modern Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 24.15 ▼13.32 |
Dashboard /wp-admin | 3.48 ▲0.14 | 55.33 ▼3.24 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 48.30 ▲1.22 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 93.02 ▲5.46 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 37.93 ▲5.86 |
Add New /wp-admin/post-new.php?post_type=slider | 3.85 | 52.96 |
All sliders /wp-admin/edit.php?post_type=slider | 3.45 | 35.57 |
Server storage [IO: ▲3.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 378 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Responsive Modern Slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,940 ▲183 | 13.45 ▼1.31 | 8.81 ▲6.87 | 35.51 ▼14.20 |
Dashboard /wp-admin | 2,260 ▲80 | 5.65 ▼0.00 | 93.47 ▲8.84 | 42.87 ▲0.16 |
Posts /wp-admin/edit.php | 2,177 ▲77 | 2.05 ▲0.04 | 42.38 ▲3.47 | 37.55 ▲0.76 |
Add New Post /wp-admin/post-new.php | 1,578 ▲50 | 23.14 ▼0.04 | 680.78 ▲24.23 | 54.75 ▼0.59 |
Media Library /wp-admin/upload.php | 1,468 ▲65 | 4.32 ▲0.16 | 96.96 ▼5.10 | 42.91 ▼0.82 |
Add New /wp-admin/post-new.php?post_type=slider | 1,817 | 3.72 | 66.07 | 34.01 |
IDP Slider /wp-admin/responsive-modern-slider.php | 26 | 0.42 | 0.06 | 12.29 |
All sliders /wp-admin/edit.php?post_type=slider | 1,148 | 1.97 | 32.89 | 28.58 |
IDP Slider setting /wp-admin/responsive-modern-slider.php?page=idp-slider-lite-options | 26 | 0.42 | 0.11 | 5.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/responsive-modern-slider/responsive-modern-slider.php
- 42× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/responsive-modern-slider/inc/fields/cmb2/includes/types/CMB2_Type_Select.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Select' not found in wp-content/plugins/responsive-modern-slider/inc/fields/cmb2/includes/types/CMB2_Type_Select_Timezone.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Base' not found in wp-content/plugins/responsive-modern-slider/inc/fields/cmb2/includes/CMB2_Field.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/responsive-modern-slider/inc/shortcodes.php:84
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-modern-slider/inc/slider-set.php:63
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Base' not found in wp-content/plugins/responsive-modern-slider/inc/fields/cmb2/includes/CMB2.php:21
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/responsive-modern-slider/inc/fields/cmb2/includes/types/CMB2_Type_File_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup_Base' not found in wp-content/plugins/responsive-modern-slider/inc/fields/cmb2/includes/CMB2_hookup.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-modern-slider/inc/fields/cmb2/includes/helper-functions.php:131
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/responsive-modern-slider/inc/fields/cmb2/includes/types/CMB2_Type_Title.php:13
- > 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/responsive-modern-slider.php
- > Network (severe)
wp-admin/responsive-modern-slider.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/responsive-modern-slider.php?page=idp-slider-lite-options
- > Network (severe)
wp-admin/responsive-modern-slider.php?page=idp-slider-lite-options - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: Please describe screenshot #0 in responsive-modern-slider/assets to your readme.txt
responsive-modern-slider/responsive-modern-slider.php Passed 13 tests
The primary PHP file in "Responsive Modern Slider" version 2.0.1 is used by WordPress to initiate all plugin functionality
94 characters long description:
Wordpress plugin "Slider" with bottom title slide. Styles and script at the Twitter bootstrap.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected47,311 lines of code in 224 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 122 | 14,515 | 18,735 | 32,812 |
PHP | 60 | 2,018 | 5,908 | 6,804 |
CSS | 16 | 1,165 | 1,174 | 4,667 |
Sass | 16 | 300 | 25 | 1,379 |
JavaScript | 9 | 325 | 420 | 1,361 |
SVG | 1 | 0 | 0 | 288 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 18.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 181.00 |
Average method complexity | 3.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 68 | |
▷ Abstract classes | 8 | 11.76% |
▷ Concrete classes | 60 | 88.24% |
▷ Final classes | 0 | 0.00% |
Methods | 535 | |
▷ Static methods | 87 | 16.26% |
▷ Public methods | 444 | 82.99% |
▷ Protected methods | 88 | 16.45% |
▷ Private methods | 3 | 0.56% |
Functions | 31 | |
▷ Named functions | 31 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 3 | 33.33% |
▷ Class constants | 6 | 66.67% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
14 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/fields/cmb2/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
inc/fields/cmb2/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
inc/fields/cmb2/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
inc/fields/cmb2/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
inc/fields/cmb2/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |