Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼0.79ms] Passed 4 tests
Analyzing server-side resources used by Disk Usage Sunburst
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.73 ▲2.73 |
Dashboard /wp-admin | 3.31 ▲0.01 | 52.31 ▲1.07 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 49.10 ▼1.49 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 88.20 ▼5.48 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.91 ▲6.39 |
Disk Usage /wp-admin/tools.php?page=disk-usage-sunburst/rbdusb-disk-usage-sunburst.php | 3.23 | 33.97 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Disk Usage Sunburst
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.32 ▼0.05 | 2.01 ▲0.19 | 43.62 ▼0.13 |
Dashboard /wp-admin | 2,202 ▲22 | 5.56 ▼0.07 | 91.06 ▲1.31 | 37.98 ▼6.26 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.01 ▲0.02 | 33.66 ▼9.14 | 37.82 ▲1.01 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.77 ▲0.77 | 618.47 ▼79.55 | 55.75 ▲4.14 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.15 ▼0.06 | 101.50 ▼3.39 | 44.05 ▼0.45 |
Disk Usage /wp-admin/tools.php?page=disk-usage-sunburst/rbdusb-disk-usage-sunburst.php | 9,172 | 7.08 | 155.34 | 39.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
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
Almost there! Just fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/disk-usage-sunburst/views/ajax.php
- > /wp-content/plugins/disk-usage-sunburst/views/index.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Tags: You are using too many tags: 28 tag instead of maximum 10
disk-usage-sunburst/rbdusb-disk-usage-sunburst.php 92% from 13 tests
"Disk Usage Sunburst" version 1.1.8's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("disk-usage-sunburst.php" instead of "rbdusb-disk-usage-sunburst.php")
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
Good job! No executable or dangerous file extensions detected228 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 32 | 32 | 84 |
JavaScript | 2 | 14 | 1 | 81 |
CSS | 1 | 4 | 0 | 63 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 9 | |
▷ Named functions | 6 | 66.67% |
▷ Anonymous functions | 3 | 33.33% |
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 files were detected