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.13MB] [CPU: ▼5.16ms] Passed 4 tests
Server-side resources used by SEO Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 38.89 ▼5.91 |
Dashboard /wp-admin | 3.47 ▲0.16 | 49.02 ▲0.27 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 49.10 ▼1.82 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 88.37 ▼12.87 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 37.84 ▼0.04 |
All Sliders /wp-admin/edit.php?post_type=slide | 3.43 | 37.86 |
Add New /wp-admin/post-new.php?post_type=slide | 3.80 | 58.27 |
Server storage [IO: ▲0.95MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 107 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_seo_slider_widget |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SEO Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,967 ▲206 | 13.90 ▼0.69 | 9.49 ▲7.80 | 42.45 ▲1.34 |
Dashboard /wp-admin | 2,233 ▲55 | 5.61 ▼0.06 | 90.37 ▼13.99 | 37.96 ▼4.01 |
Posts /wp-admin/edit.php | 2,140 ▲40 | 2.05 ▲0.04 | 38.53 ▼2.30 | 32.85 ▼7.26 |
Add New Post /wp-admin/post-new.php | 1,556 ▲28 | 23.29 ▲0.29 | 678.82 ▼6.59 | 65.85 ▲10.95 |
Media Library /wp-admin/upload.php | 1,441 ▲41 | 4.27 ▼0.04 | 105.68 ▼2.60 | 44.83 ▼3.86 |
All Sliders /wp-admin/edit.php?post_type=slide | 1,111 | 1.96 | 35.65 | 30.78 |
Add New /wp-admin/post-new.php?post_type=slide | 2,862 | 8.46 | 182.49 | 90.06 |
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
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_seo_slider_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 43× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_REST_Controller_Boxes' not found in wp-content/plugins/seo-slider/cmb2/includes/rest-api/CMB2_REST_Controller_Fields.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Picker_Base' not found in wp-content/plugins/seo-slider/cmb2/includes/types/CMB2_Type_Text_Date.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_hookup' not found in wp-content/plugins/seo-slider/cmb2/includes/CMB2_Options_Hookup.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/seo-slider/includes/shortcode.php:8
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_File_Base' not found in wp-content/plugins/seo-slider/cmb2/includes/types/CMB2_Type_File.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Select' not found in wp-content/plugins/seo-slider/cmb2/includes/types/CMB2_Type_Select_Timezone.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/seo-slider/cmb2/includes/types/CMB2_Type_Taxonomy_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/seo-slider/includes/widget.php:11
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Base' not found in wp-content/plugins/seo-slider/cmb2/includes/CMB2_Field.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Radio' not found in wp-content/plugins/seo-slider/cmb2/includes/types/CMB2_Type_Multicheck.php:13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=slide
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.defaultLabel is deprecated since version 5.5.0! Use wp.i18n instead.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=slide
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.pick is deprecated since version 5.5.0! Use wp.i18n instead.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=slide
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.clear is deprecated since version 5.5.0! Use wp.i18n instead.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=slide
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.clearAriaLabel is deprecated since version 5.5.0! Use wp.i18n instead.
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
1 plugin tags: slider
seo-slider/seo-slider.php Passed 13 tests
The principal PHP file in "SEO Slider" v. 1.1.0 is loaded by WordPress automatically on each request
99 characters long description:
A simple and lightweight, search engined optimized, accessible and mobile responsive slider plugin.
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 detected15,476 lines of code in 85 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 61 | 2,040 | 5,719 | 6,823 |
CSS | 14 | 1,177 | 1,168 | 5,214 |
JavaScript | 8 | 1,150 | 457 | 3,391 |
Markdown | 1 | 9 | 0 | 40 |
SVG | 1 | 0 | 1 | 8 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 18.10 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 182.00 |
Average method complexity | 3.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 67 | |
▷ Abstract classes | 8 | 11.94% |
▷ Concrete classes | 59 | 88.06% |
▷ Final classes | 0 | 0.00% |
Methods | 516 | |
▷ Static methods | 84 | 16.28% |
▷ Public methods | 425 | 82.36% |
▷ Protected methods | 88 | 17.05% |
▷ Private methods | 3 | 0.58% |
Functions | 36 | |
▷ Named functions | 35 | 97.22% |
▷ Anonymous functions | 1 | 2.78% |
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
Using a strong compression for your PNG files is a great way to speed-up 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 |
cmb2/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
cmb2/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
cmb2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
cmb2/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
cmb2/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |