Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.77ms] Passed 4 tests
This is a short check of server-side resources used by Plugin Name: FusionCharts for Wordpress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 46.71 ▲8.70 |
Dashboard /wp-admin | 3.33 ▲0.02 | 45.39 ▼5.14 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 61.31 ▲14.25 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 87.46 ▼11.49 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.44 ▲0.86 |
Server storage [IO: ▲2.27MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Plugin Name: FusionCharts for Wordpress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.57 ▲0.19 | 1.62 ▼0.04 | 40.36 ▼10.83 |
Dashboard /wp-admin | 2,206 ▲21 | 5.86 ▼0.05 | 110.29 ▲5.05 | 38.04 ▼2.61 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.00 ▼0.02 | 36.34 ▼2.81 | 29.72 ▼1.68 |
Add New Post /wp-admin/post-new.php | 1,529 ▲10 | 22.84 ▼0.19 | 599.34 ▼9.78 | 32.46 ▼25.21 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.24 ▼0.01 | 101.87 ▼1.00 | 42.43 ▼0.95 |
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 did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fc-wp/fc-wp.php:21
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Plugin Name: Please specify the plugin name on the first line (
=== Plugin Name: FusionCharts for Wordpress ===
)
fc-wp/fc-wp.php Passed 13 tests
The main PHP file in "Plugin Name: FusionCharts for Wordpress" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
104 characters long description:
FusionCharts for Wordpress enables addition of interactive JavaScript charts in Wordpress posts or pages
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected5,223 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 18 | 67 | 245 | 4,756 |
CSS | 2 | 50 | 14 | 223 |
PHP | 3 | 15 | 16 | 143 |
HTML | 1 | 21 | 8 | 101 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 3.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/fc.png | 7.03KB | 2.91KB | ▼ 58.58% |