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.11MB] [CPU: ▼0.26ms] Passed 4 tests
An overview of server-side resources used by Live Dashboard
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.99 ▼2.84 |
Dashboard /wp-admin | 3.44 ▲0.14 | 49.36 ▼1.42 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 52.25 ▲3.18 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 97.50 ▲0.06 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 40.32 ▲6.23 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Live Dashboard: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲60 | 14.34 ▼0.06 | 1.81 ▼0.11 | 42.05 ▼4.36 |
Dashboard /wp-admin | 2,240 ▲63 | 5.58 ▼0.20 | 85.43 ▼13.50 | 74.30 ▲30.66 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▼0.00 | 45.60 ▲8.83 | 35.41 ▼2.13 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 18.18 ▼4.74 | 601.79 ▼80.19 | 69.73 ▲7.41 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.20 ▼0.06 | 99.20 ▼10.60 | 45.17 ▼3.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/live-dashboard/lib/live-admin/live-admin-template.php:5
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots need descriptions #2, #3 in live-dashboard/assets to your readme.txt
live-dashboard/live-dashboard.php Passed 13 tests
The main PHP file in "Live Dashboard" ver. 0.3.3 adds more information about the plugin and also serves as the entry point for this plugin
45 characters long description:
Manage your website while you're browsing it.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin1,710 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 450 | 340 | 1,190 |
JavaScript | 5 | 70 | 29 | 272 |
CSS | 5 | 56 | 8 | 248 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 16.78 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 85 | |
▷ Static methods | 7 | 8.24% |
▷ Public methods | 72 | 84.71% |
▷ Protected methods | 9 | 10.59% |
▷ Private methods | 4 | 4.71% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 23 | |
▷ Global constants | 23 | 100.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
4 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
_inc/images/dashboard_logo.png | 8.71KB | 4.06KB | ▼ 53.41% |
lib/quick-menu/_inc/images/icons32-add.png | 16.42KB | 6.46KB | ▼ 60.65% |
lib/quick-menu/_inc/images/customize.png | 2.40KB | 1.75KB | ▼ 26.94% |
lib/quick-menu/_inc/images/themes.png | 2.16KB | 1.63KB | ▼ 24.50% |