Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.18MB] [CPU: ▼17.42ms] Passed 4 tests
Analyzing server-side resources used by Blog Coach
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 46.36 ▲5.20 |
Dashboard /wp-admin | 3.12 ▼0.18 | 30.99 ▼20.69 |
Posts /wp-admin/edit.php | 3.26 ▼0.10 | 31.94 ▼16.86 |
Add New Post /wp-admin/post-new.php | 5.50 ▼0.39 | 69.37 ▼25.75 |
Media Library /wp-admin/upload.php | 3.20 ▼0.03 | 30.56 ▼6.39 |
Server storage [IO: ▲0.02MB] [DB: ▲0.24MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Blog Coach
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,947 ▲186 | 14.38 ▼0.15 | 1.83 ▼0.33 | 44.51 ▼1.44 |
Dashboard /wp-admin | 2,335 ▲160 | 5.77 ▲0.13 | 91.11 ▼48.63 | 73.92 ▲15.80 |
Posts /wp-admin/edit.php | 2,197 ▲100 | 2.30 ▲0.33 | 44.74 ▲8.58 | 39.58 ▲5.44 |
Add New Post /wp-admin/post-new.php | 1,560 ▲34 | 23.27 ▲0.41 | 657.24 ▲18.36 | 38.64 ▼13.01 |
Media Library /wp-admin/upload.php | 1,492 ▲89 | 4.25 ▲0.11 | 101.04 ▲3.27 | 81.10 ▲36.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.24MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blog-coach/blog-coach.php:9
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: coach, writing, blogging coach
blog-coach/blog-coach.php Passed 13 tests
This is the main PHP file of "Blog Coach" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
105 characters long description:
A plugin to help you maintain a healthy blog workflow with a simple visual reminder in the admin toolbar.
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
There were no executable files found in this plugin388 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 79 | 72 | 352 |
JavaScript | 1 | 6 | 0 | 36 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 25.00% |
Functions | 17 | |
▷ Named functions | 17 | 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 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon.png | 0.66KB | 0.79KB | 0.00% |