Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼12.88ms] Passed 4 tests
An overview of server-side resources used by Fine Dashboard - Source
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 34.56 ▼6.63 |
Dashboard /wp-admin | 3.34 ▼0.01 | 44.66 ▼18.68 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 45.59 ▲0.81 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 89.04 ▼22.68 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 30.42 ▼3.51 |
Widgets /wp-admin/edit.php?post_type=fdbscpt_widget | 3.30 | 33.00 |
Add Widget /wp-admin/post-new.php?post_type=fdbscpt_widget | 5.98 | 78.65 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Fine Dashboard - Source: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,855 ▲109 | 13.60 ▼0.98 | 1.75 ▼0.12 | 39.83 ▼4.83 |
Dashboard /wp-admin | 2,233 ▲42 | 5.89 ▼0.02 | 108.17 ▲3.43 | 37.83 ▼6.16 |
Posts /wp-admin/edit.php | 2,113 ▲24 | 2.04 ▲0.02 | 38.87 ▼3.56 | 39.92 ▲1.36 |
Add New Post /wp-admin/post-new.php | 1,565 ▲37 | 18.31 ▼0.02 | 612.38 ▼38.20 | 52.35 ▼4.99 |
Media Library /wp-admin/upload.php | 1,415 ▲30 | 4.24 ▲0.03 | 95.44 ▼11.81 | 40.05 ▼2.96 |
Widgets /wp-admin/edit.php?post_type=fdbscpt_widget | 1,084 | 2.00 | 34.05 | 33.49 |
Add Widget /wp-admin/post-new.php?post_type=fdbscpt_widget | 6,174 | 19.22 | 871.90 | 30.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/fine-dashboard-source/modules/tools_page.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #2 in fine-dashboard-source/assets to your readme.txt
fine-dashboard-source/fine-dashboard-source.php Passed 13 tests
"Fine Dashboard - Source" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
38 characters long description:
Create a source for the Fine Dashboard
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
No dangerous file extensions were detected179 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 28 | 24 | 139 |
Markdown | 1 | 27 | 0 | 40 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.50 |
▷ 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 | 12 | |
▷ Static methods | 1 | 8.33% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 3 | |
▷ Global constants | 3 | 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
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 |
assets/img/icon.png | 11.20KB | 5.16KB | ▼ 53.88% |