Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼3.49ms] Passed 4 tests
An overview of server-side resources used by Dc Responsive content slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 34.77 ▼7.03 |
Dashboard /wp-admin | 3.37 ▲0.06 | 46.55 ▼4.96 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 46.68 ▲1.06 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 87.95 ▼3.03 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 38.69 ▲1.28 |
Add New /wp-admin/post-new.php?post_type=sp_dcrs_slider | 3.41 | 46.07 |
All Image /wp-admin/edit.php?post_type=sp_dcrs_slider | 3.34 | 35.72 |
How It Works /wp-admin/edit.php?post_type=sp_dcrs_slider&page=dc-how-it-works | 3.26 | 32.52 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Dc Responsive content slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲182 | 13.62 ▼0.75 | 7.56 ▲5.69 | 39.15 ▼9.47 |
Dashboard /wp-admin | 2,234 ▲46 | 4.83 ▼1.04 | 100.26 ▼19.52 | 43.50 ▼2.62 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.00 ▼0.01 | 35.14 ▼0.73 | 37.27 ▲0.27 |
Add New Post /wp-admin/post-new.php | 1,559 ▲25 | 23.27 ▲0.20 | 653.96 ▼34.31 | 62.72 ▼0.59 |
Media Library /wp-admin/upload.php | 1,422 ▲37 | 4.22 ▲0.02 | 98.42 ▼9.15 | 41.15 ▼7.55 |
Add New /wp-admin/post-new.php?post_type=sp_dcrs_slider | 2,172 | 7.57 | 183.90 | 65.96 |
All Image /wp-admin/edit.php?post_type=sp_dcrs_slider | 1,093 | 1.99 | 30.30 | 29.55 |
How It Works /wp-admin/edit.php?post_type=sp_dcrs_slider&page=dc-how-it-works | 888 | 2.03 | 24.68 | 25.61 |
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 does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 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 50% 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
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-dc-slider/responsive_content_slider.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 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
Please fix the following attributes:
- Screenshots: Add an image for screenshot #1 (Dashboard)
- Tags: You are using too many tags: 13 tag instead of maximum 10
wp-dc-slider/responsive_content_slider.php 85% from 13 tests
The main PHP file in "Dc Responsive content slider" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-dc-slider.php" instead of "responsive_content_slider.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
There were no executable files found in this plugin381 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 71 | 87 | 284 |
CSS | 1 | 20 | 0 | 96 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
4 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/arrow-left.png | 1.32KB | 0.31KB | ▼ 76.63% |
img/pagination.png | 4.82KB | 0.58KB | ▼ 87.99% |
img/arrow-right.png | 1.31KB | 0.31KB | ▼ 76.49% |
img/btns-next-prev.png | 11.13KB | 1.81KB | ▼ 83.73% |