Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.83ms] Passed 4 tests
Server-side resources used by WP News Sliders
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 39.83 ▲3.61 |
Dashboard /wp-admin | 3.35 ▲0.01 | 45.25 ▼11.12 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 47.00 ▲2.26 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 83.28 ▼14.09 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.00 ▼0.38 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 14 new options
New WordPress options |
---|
news_slider_max_width |
news_slider_sub_news_number |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
news_slider_max_height |
news_slider_theme |
news_slider_sub_category |
news_slider_bootstrap_files |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for WP News Sliders
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,922 ▲176 | 13.64 ▼0.92 | 11.40 ▲9.79 | 47.05 ▲7.45 |
Dashboard /wp-admin | 2,218 ▲37 | 5.69 ▼0.23 | 91.91 ▼11.20 | 37.63 ▼3.12 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 1.99 ▼0.01 | 41.08 ▲4.44 | 35.10 ▲0.22 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 23.30 ▼0.20 | 650.11 ▼34.64 | 63.44 ▲5.63 |
Media Library /wp-admin/upload.php | 1,420 ▲26 | 4.24 ▼0.10 | 121.96 ▲21.91 | 54.79 ▲8.33 |
Uninstaller [IO: ▲0.00MB] [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 had uncaught errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method newsSlider::deleteOptions() should not be called statically
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
9 plugin tags: blue slider, grey slider, newscast slider, responsive slider, green slider...
wp-news-sliders/wp-news-sliders.php Passed 13 tests
This is the main PHP file of "WP News Sliders" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
116 characters long description:
WordPress newscast slider plugin. Show your main news and sub news in slider. Red, Green, Blue or Grey theme option.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected456 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 37 | 23 | 301 |
CSS | 7 | 27 | 5 | 134 |
JavaScript | 2 | 0 | 5 | 21 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 1.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 2 | 66.67% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 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 | 9 | |
▷ Global constants | 9 | 100.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
There are no PNG files in this plugin