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.09MB] [CPU: ▼3.62ms] Passed 4 tests
An overview of server-side resources used by CWM Stylish Author Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 36.53 ▼2.68 |
Dashboard /wp-admin | 3.40 ▲0.10 | 52.58 ▼5.59 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 54.79 ▲1.91 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 92.76 ▼8.12 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 40.92 ▲2.73 |
Server storage [IO: ▲3.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 38 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_cwm-stylish-author-widget |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for CWM Stylish Author Widget
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,938 ▲177 | 14.73 ▲0.36 | 1.57 ▼0.10 | 42.46 ▼3.07 |
Dashboard /wp-admin | 2,339 ▲162 | 6.16 ▲0.56 | 118.05 ▲17.40 | 37.31 ▼6.69 |
Posts /wp-admin/edit.php | 2,264 ▲161 | 3.31 ▲1.27 | 55.98 ▲19.18 | 36.16 ▼1.50 |
Add New Post /wp-admin/post-new.php | 1,530 ▲2 | 23.16 ▼0.11 | 646.76 ▼26.74 | 35.99 ▼25.77 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.20 ▼0.04 | 83.58 ▼20.74 | 44.41 ▼2.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_cwm-stylish-author-widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/cwm-stylish-author-widget/stylish-blogs-sidebar-about-me.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5, #6 in cwm-stylish-author-widget/assets to your readme.txt
cwm-stylish-author-widget/stylish-blogs-sidebar-about-me.php 85% from 13 tests
The main PHP script in "CWM Stylish Author Widget" version 1.0.0 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("cwm-stylish-author-widget.php" instead of "stylish-blogs-sidebar-about-me.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin17,622 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 9,299 |
CSS | 16 | 3,642 | 63 | 8,118 |
PHP | 2 | 16 | 30 | 168 |
JavaScript | 1 | 0 | 0 | 37 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 43.00 |
▷ Minimum class complexity | 43.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 9.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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 images were found in this plugin