Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼4.83ms] Passed 4 tests
Server-side resources used by WP SimpleMind Map
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 40.51 ▼1.08 |
Dashboard /wp-admin | 3.56 ▲0.26 | 46.77 ▼6.27 |
Posts /wp-admin/edit.php | 3.61 ▲0.26 | 49.96 ▼6.35 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 87.32 ▼5.61 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 38.28 ▲3.02 |
Mind Map /wp-admin/admin.php?page=wp-simplemind-map | 3.47 | 34.95 |
Upgrade to plus /wp-admin/admin.php?page=upgrade-to-pro | 3.40 | 32.90 |
Settings /wp-admin/admin.php?page=wp-simple-mind-map-settings | 3.41 | 31.91 |
License /wp-admin/admin.php?page=wp-simple-mind-map-license | 3.40 | 34.08 |
Server storage [IO: ▲1.42MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 69 new files
Database: 1 new table, 9 new options
New tables |
---|
wp_mind_map |
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
version |
smm_plugin_version |
smdmap-level |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP SimpleMind Map
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,945 ▲210 | 13.96 ▼0.42 | 5.71 ▲3.74 | 43.27 ▼1.16 |
Dashboard /wp-admin | 2,265 ▲74 | 5.27 ▼0.63 | 116.23 ▲3.83 | 40.46 ▼6.12 |
Posts /wp-admin/edit.php | 2,149 ▲57 | 2.17 ▲0.17 | 42.30 ▲5.78 | 35.62 ▼0.78 |
Add New Post /wp-admin/post-new.php | 1,570 ▲36 | 23.46 ▲0.40 | 661.96 ▼14.38 | 35.64 ▼17.50 |
Media Library /wp-admin/upload.php | 1,441 ▲56 | 4.57 ▲0.36 | 98.83 ▼8.49 | 43.01 ▼2.69 |
Mind Map /wp-admin/admin.php?page=wp-simplemind-map | 1,209 | 2.31 | 36.64 | 47.98 |
Upgrade to plus /wp-admin/admin.php?page=upgrade-to-pro | 870 | 1.97 | 27.62 | 27.61 |
Settings /wp-admin/admin.php?page=wp-simple-mind-map-settings | 893 | 1.96 | 26.14 | 29.57 |
License /wp-admin/admin.php?page=wp-simple-mind-map-license | 903 | 1.97 | 27.73 | 31.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure failed, leaving 1 table in the database
- wp_mind_map
- Zombie WordPress options were found after uninstall: 9 options
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- smdmap-level
- widget_recent-posts
- can_compress_scripts
- version
- smm_plugin_version
- db_upgraded
Smoke tests 25% 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)
These errors were triggered by the plugin
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp-simple-mind-map-settings
- > Notice in wp-content/plugins/wp-simplemind-map/view/admin-simple-mind-settings.php+35
Trying to access array offset on value of type bool
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp-simple-mind-map-settings
- > Notice in wp-content/plugins/wp-simplemind-map/view/admin-simple-mind-settings.php+35
Trying to access array offset on value of type null
SRP 0% from 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 following issues need your attention
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-simplemind-map/view/_upgrade.php
- > /wp-content/plugins/wp-simplemind-map/view/_support.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-simplemind-map/view/admin-simple-mind-settings.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: mind map, telicom, workflow, simplemind map, diagram
wp-simplemind-map/app.php 92% from 13 tests
Analyzing the main PHP file in "WP SimpleMind Map" version 2.1.0
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-simplemind-map.php" instead of "app.php")
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
There were no executable files found in this plugin17,371 lines of code in 57 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 70 | 28 | 12,635 |
PHP | 37 | 711 | 746 | 2,322 |
JavaScript | 9 | 288 | 224 | 1,828 |
SVG | 1 | 0 | 0 | 565 |
JSON | 3 | 0 | 0 | 21 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 10.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 3 | 14.29% |
▷ Concrete classes | 18 | 85.71% |
▷ Final classes | 0 | 0.00% |
Methods | 180 | |
▷ Static methods | 31 | 17.22% |
▷ Public methods | 140 | 77.78% |
▷ Protected methods | 38 | 21.11% |
▷ Private methods | 2 | 1.11% |
Functions | 8 | |
▷ Named functions | 4 | 50.00% |
▷ Anonymous functions | 4 | 50.00% |
Constants | 5 | |
▷ Global constants | 4 | 80.00% |
▷ Class constants | 1 | 20.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin