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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.12MB] [CPU: ▼6.10ms] Passed 4 tests
Server-side resources used by Blazing Charts
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.12 | 44.17 ▼6.85 |
Dashboard /wp-admin | 3.48 ▲0.09 | 51.30 ▼14.57 |
Posts /wp-admin/edit.php | 3.59 ▲0.19 | 53.73 ▲2.16 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.13 | 90.28 ▼5.12 |
Media Library /wp-admin/upload.php | 3.40 ▲0.13 | 40.36 ▲4.17 |
Bazing Charts Settings /wp-admin/options-general.php?page=blazing-charts/inc/options-page.php | 3.34 | 34.91 |
All Chart Snippets /wp-admin/edit.php?post_type=chart_snippet | 3.44 | 42.25 |
Add New /wp-admin/post-new.php?post_type=chart_snippet | 3.46 | 48.36 |
Server storage [IO: ▲1.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 32 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
blazing_charts_settings |
Browser metrics Passed 4 tests
Checking browser requirements for Blazing Charts
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲76 | 14.22 ▼0.13 | 1.71 ▼0.82 | 43.02 ▲3.48 |
Dashboard /wp-admin | 2,210 ▲30 | 5.55 ▼0.13 | 94.60 ▲5.38 | 79.34 ▲39.88 |
Posts /wp-admin/edit.php | 2,127 ▲24 | 1.98 ▲0.01 | 34.69 ▼0.40 | 34.45 ▼1.74 |
Add New Post /wp-admin/post-new.php | 1,705 ▲179 | 22.02 ▼1.60 | 655.50 ▼19.86 | 61.04 ▲6.75 |
Media Library /wp-admin/upload.php | 1,430 ▲27 | 4.22 ▲0.02 | 99.48 ▲0.74 | 70.73 ▲24.20 |
Bazing Charts Settings /wp-admin/options-general.php?page=blazing-charts/inc/options-page.php | 916 | 2.00 | 27.77 | 27.16 |
All Chart Snippets /wp-admin/edit.php?post_type=chart_snippet | 1,094 | 1.92 | 33.99 | 30.75 |
Add New /wp-admin/post-new.php?post_type=chart_snippet | 1,873 | 3.92 | 77.13 | 102.13 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- widget_theysaidso_widget
- blazing_charts_settings
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=blazing-charts/inc/options-page.php
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=blazing-charts/inc/options-page.php
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/blazing-charts/inc/options-page.php:179
- > 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)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
blazing-charts/blazing-charts.php Passed 13 tests
The primary PHP file in "Blazing Charts" version 1.0.6 is used by WordPress to initiate all plugin functionality
65 characters long description:
The plugin introduces a new post type for "Graph Scripts", and by
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
Everything looks great! No dangerous files found in this plugin1,481 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 25 | 103 | 373 | 514 |
CSS | 3 | 129 | 30 | 485 |
PHP | 2 | 44 | 97 | 482 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 4.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 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 | 2 | |
▷ Global constants | 2 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/blazing-graph-icon.png | 0.47KB | 0.41KB | ▼ 13.72% |