Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.32MB] [CPU: ▲4.49ms] Passed 4 tests
A check of server-side resources used by Fabrica Dashboard
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.68 ▲2.16 |
Dashboard /wp-admin | 3.67 ▲0.36 | 54.36 ▼0.76 |
Posts /wp-admin/edit.php | 3.85 ▲0.49 | 59.28 ▲9.51 |
Add New Post /wp-admin/post-new.php | 6.34 ▲0.46 | 97.79 ▲7.03 |
Media Library /wp-admin/upload.php | 3.66 ▲0.44 | 45.45 ▲9.98 |
Fabrica Dashboard /wp-admin/options-general.php?page=fd-settings | 3.63 | 37.68 |
Server storage [IO: ▲1.61MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 32 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Fabrica Dashboard: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,375 ▼371 | 14.19 ▼0.26 | 2.22 ▲0.06 | 42.43 ▼1.06 |
Dashboard /wp-admin | 1,759 ▼429 | 5.36 ▼0.54 | 87.90 ▼31.59 | 62.75 ▲12.98 |
Posts /wp-admin/edit.php | 2,100 ▲14 | 2.03 ▼0.01 | 40.48 ▲4.44 | 34.95 ▼1.23 |
Add New Post /wp-admin/post-new.php | 1,526 ▲7 | 23.17 ▲0.11 | 665.73 ▼7.26 | 52.91 ▼0.65 |
Media Library /wp-admin/upload.php | 1,854 ▲466 | 4.38 ▲0.20 | 108.15 ▲11.07 | 46.05 ▲0.97 |
Fabrica Dashboard /wp-admin/options-general.php?page=fd-settings | 889 | 2.02 | 30.90 | 29.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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 SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
8 plugin tags: activity, security, overview, editorial, content...
fabrica-dashboard/fabrica-dashboard.php Passed 13 tests
The primary PHP file in "Fabrica Dashboard" version 1.0.17 is used by WordPress to initiate all plugin functionality
126 characters long description:
Replaces the WordPress Dashboard to provide a much better overview of content and activity as soon as you log in to your site.
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
Everything looks great! No dangerous files found in this plugin1,851 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 223 | 177 | 1,494 |
CSS | 1 | 71 | 10 | 286 |
JavaScript | 1 | 13 | 14 | 52 |
SVG | 2 | 0 | 0 | 19 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 20.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 96.00 |
Average method complexity | 5.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 1 | 7.14% |
▷ Concrete classes | 13 | 92.86% |
▷ Final classes | 0 | 0.00% |
Methods | 63 | |
▷ Static methods | 63 | 100.00% |
▷ Public methods | 56 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 11.11% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
12 PNG files occupy 1.53MB with 0.39MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-1544x500.png | 534.28KB | 228.71KB | ▼ 57.19% |
assets/screenshot-3.png | 20.63KB | 19.85KB | ▼ 3.79% |
assets/screenshot-1.png | 633.04KB | 224.94KB | ▼ 64.47% |
assets/screenshot-7.png | 32.78KB | 32.12KB | ▼ 2.00% |
assets/screenshot-2.png | 20.78KB | 20.38KB | ▼ 1.97% |