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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.07ms] Passed 4 tests
A check of server-side resources used by bpmn.io
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 45.39 ▲4.99 |
Dashboard /wp-admin | 3.33 ▲0.02 | 49.20 ▼1.16 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.66 ▼7.26 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 87.19 ▼10.95 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.11 ▼0.89 |
Server storage [IO: ▲7.37MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for bpmn.io
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.22 ▼1.18 | 1.78 ▲0.00 | 41.31 ▼3.12 |
Dashboard /wp-admin | 2,209 ▲21 | 4.88 ▼0.01 | 98.77 ▼17.02 | 42.82 ▲0.63 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▼0.02 | 41.79 ▼0.03 | 36.38 ▼0.86 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.10 ▼0.24 | 668.35 ▼23.13 | 50.63 ▼10.80 |
Media Library /wp-admin/upload.php | 1,393 ▲5 | 4.26 ▲0.16 | 102.73 ▼12.23 | 45.43 ▼1.37 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bpmnio/_inc/shortcode.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bpmnio/_inc/mce_editor.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/bpmnio/bpmn-io.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/bpmnio/_inc/mime.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Donate link: Please fix this invalid URI: "bpmn.io"
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== bpmnio ===
)
bpmnio/bpmn-io.php 92% from 13 tests
Analyzing the main PHP file in "bpmn.io" version 1.0
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("bpmnio.php" instead of "bpmn-io.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin64,789 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 12,874 | 23,264 | 63,872 |
CSS | 4 | 117 | 89 | 611 |
SVG | 1 | 0 | 0 | 108 |
PHP | 4 | 40 | 16 | 105 |
JSON | 2 | 0 | 0 | 50 |
Markdown | 1 | 17 | 0 | 29 |
HTML | 1 | 1 | 0 | 11 |
XML | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
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 | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
tinymce/camunda_icon.png | 0.74KB | 0.70KB | ▼ 5.65% |