Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.64MB] [CPU: ▼13.94ms] Passed 4 tests
Server-side resources used by Responsive Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.44 ▼0.02 | 29.61 ▼5.01 |
Dashboard /wp-admin | 3.37 ▲0.07 | 47.61 ▲7.07 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 45.07 ▼2.10 |
Add New Post /wp-admin/post-new.php | 3.22 ▼2.67 | 35.45 ▼49.60 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.88 ▲0.96 |
Add New Slide /wp-admin/post-new.php?post_type=corlate_slide | 3.16 | 38.86 |
Slider Options /wp-admin/edit.php?post_type=corlate_slide&page=breaking_news_slug | 3.24 | 29.76 |
Slides /wp-admin/edit.php?post_type=corlate_slide | 3.34 | 29.81 |
Server storage [IO: ▲0.76MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Responsive Slider
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,956 ▲221 | 14.26 ▼0.48 | 9.94 ▲8.26 | 50.98 ▲6.37 |
Dashboard /wp-admin | 2,237 ▲45 | 5.87 ▲0.94 | 101.86 ▼19.79 | 50.43 ▲8.04 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.02 ▲0.05 | 33.33 ▼2.15 | 34.02 ▲3.25 |
Add New Post /wp-admin/post-new.php | 1,554 ▲35 | 23.38 ▼0.02 | 670.90 ▲19.55 | 50.92 ▼8.52 |
Media Library /wp-admin/upload.php | 1,422 ▲40 | 4.21 ▼0.03 | 97.02 ▼2.01 | 45.25 ▲1.81 |
Add New Slide /wp-admin/post-new.php?post_type=corlate_slide | 2,437 | 7.61 | 181.49 | 70.34 |
Slider Options /wp-admin/edit.php?post_type=corlate_slide&page=breaking_news_slug | 821 | 2.03 | 23.36 | 26.34 |
Slides /wp-admin/edit.php?post_type=corlate_slide | 1,084 | 1.93 | 29.53 | 29.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/post-new.php?post_type=corlate_slide
- > Notice in wp-content/plugins/news-slider/corlate-full-slider.php+234
Undefined index: slide_bg
- > GET request to /wp-admin/post-new.php?post_type=corlate_slide
- > Notice in wp-content/plugins/news-slider/corlate-full-slider.php+235
Undefined index: news_content
- > GET request to /wp-admin/post-new.php?post_type=corlate_slide
- > Notice in wp-content/plugins/news-slider/corlate-full-slider.php+236
Undefined index: news_link
- > GET request to /wp-admin/edit.php?post_type=corlate_slide&page=breaking_news_slug
- > Notice in wp-content/plugins/news-slider/corlate-full-slider.php+108
Undefined index: corlate_slide_color
- > GET request to /wp-admin/edit.php?post_type=corlate_slide&page=breaking_news_slug
- > Notice in wp-content/plugins/news-slider/corlate-full-slider.php+120
Undefined index: corlate_slide_color_hover
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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/news-slider/corlate-full-slider.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/edit.php?post_type=corlate_slide&page=breaking_news_slug
- > Rendering (warning) in unknown
/wp-admin/edit.php?post_type=corlate_slide&page=breaking_news_slug 153 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/edit.php?post_type=corlate_slide&page=breaking_news_slug
- > Rendering (warning) in unknown
/wp-admin/edit.php?post_type=corlate_slide&page=breaking_news_slug 156 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: Too many tags (19 tag instead of maximum 10); only the first 5 tags are used in your directory listing
news-slider/corlate-full-slider.php 85% from 13 tests
The entry point to "Responsive Slider" version 1.0.1 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("news-slider.php" instead of "corlate-full-slider.php")
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
Everything looks great! No dangerous files found in this plugin1,048 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 2 | 0 | 0 | 643 |
PHP | 2 | 162 | 81 | 224 |
CSS | 4 | 58 | 25 | 168 |
JavaScript | 3 | 7 | 7 | 13 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.02 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.06 |
▷ 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 | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected