Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼1.41ms] Passed 4 tests
Server-side resources used by CC Thumbnail Logo Slider
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.04 | 41.13 ▼3.14 |
Dashboard /wp-admin | 3.38 ▲0.04 | 50.38 ▲1.18 |
Posts /wp-admin/edit.php | 3.50 ▲0.10 | 53.07 ▲0.80 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.06 | 95.80 ▼3.66 |
Media Library /wp-admin/upload.php | 3.31 ▲0.04 | 36.72 ▲0.35 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by CC Thumbnail Logo Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲53 | 14.65 ▲0.03 | 3.62 ▲1.62 | 43.67 ▲3.81 |
Dashboard /wp-admin | 2,200 ▲20 | 5.59 ▼0.07 | 91.20 ▲0.09 | 62.92 ▲20.52 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 1.99 ▼0.01 | 39.80 ▲1.90 | 35.50 ▼2.38 |
Add New Post /wp-admin/post-new.php | 1,694 ▲166 | 22.10 ▼1.25 | 706.84 ▲17.89 | 44.58 ▼23.49 |
Media Library /wp-admin/upload.php | 1,417 ▲17 | 4.21 ▲0.01 | 99.96 ▼7.79 | 76.35 ▲29.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 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/cc-thumbnail-logo-slider/cc-thumbnail-logo-slider.php:14
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Please a description for screenshot #3 in cc-thumbnail-logo-slider/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
cc-thumbnail-logo-slider/cc-thumbnail-logo-slider.php Passed 13 tests
"CC Thumbnail Logo Slider" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
56 characters long description:
Create a thumbnail logo slider anywhere in your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin962 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 4 | 15 | 687 |
PHP | 1 | 23 | 38 | 162 |
CSS | 2 | 16 | 1 | 113 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 8 | |
▷ Named functions | 8 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
cc.png | 15.07KB | 0.20KB | ▼ 98.67% |