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
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.54ms] Passed 4 tests
A check of server-side resources used by FRIA Single Value Chart
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.20 ▼3.74 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.64 ▼4.03 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.59 ▼2.40 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 84.02 ▼15.97 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.14 ▲0.20 |
Server storage [IO: ▲1.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 39 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by FRIA Single Value Chart
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲67 | 13.23 ▼1.15 | 1.49 ▼0.22 | 44.85 ▲6.30 |
Dashboard /wp-admin | 2,206 ▲14 | 4.88 ▼0.00 | 105.27 ▼10.66 | 36.57 ▼4.34 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.01 ▼0.03 | 39.02 ▼2.06 | 37.24 ▼0.34 |
Add New Post /wp-admin/post-new.php | 1,531 ▼2 | 23.51 ▲0.08 | 675.98 ▲47.94 | 65.31 ▼1.37 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.22 ▲0.04 | 92.66 ▼6.14 | 40.84 ▼1.04 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 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)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (Inline edit the value and subtitle), #2 (Change color, font and arrowType in Gutenberg sidebar), #3 (Change arrow orientation)
fria-single-value-chart/plugin.php 85% from 13 tests
"FRIA Single Value Chart" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("fria-single-value-chart.php" instead of "plugin.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 157 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected15,981 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 15,370 |
JavaScript | 18 | 45 | 18 | 326 |
Markdown | 2 | 55 | 0 | 146 |
Sass | 3 | 14 | 1 | 89 |
PHP | 2 | 10 | 56 | 48 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 1 | |
▷ Named functions | 1 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/logo-128x128.png | 3.35KB | 2.00KB | ▼ 40.49% |
assets/block_config.png | 31.52KB | 8.64KB | ▼ 72.58% |
assets/logo-256x256.png | 6.08KB | 3.23KB | ▼ 46.82% |
assets/banner-1544x500.png | 18.97KB | 8.50KB | ▼ 55.20% |
assets/banner-772x250.png | 8.77KB | 4.63KB | ▼ 47.21% |