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.09MB] [CPU: ▼0.37ms] Passed 4 tests
Analyzing server-side resources used by Wolfe Candy Tree View
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 36.93 ▼4.45 |
Dashboard /wp-admin | 3.40 ▲0.09 | 50.57 ▲1.32 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 49.12 ▼1.59 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 103.54 ▲7.79 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 40.61 ▲3.26 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Wolfe Candy Tree View
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.12 ▼0.23 | 1.77 ▼0.08 | 36.54 ▼6.06 |
Dashboard /wp-admin | 2,195 ▲18 | 5.60 ▼0.01 | 89.59 ▲0.51 | 38.31 ▼0.46 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.03 ▲0.06 | 40.08 ▲2.97 | 35.50 ▲0.21 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.59 ▲0.66 | 680.27 ▲48.45 | 52.63 ▼1.66 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.19 ▲0.01 | 108.14 ▼4.45 | 47.93 ▲1.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- 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
Even though everything seems fine, this is not an exhaustive test
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 items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wolfe-candy-tree-view/plugin-startup.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wolfe-candy-tree-view/plugin-startup.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 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
9 plugin tags: org chart, tree view, structure, files, folder...
wolfe-candy-tree-view/wolfe-candy-tree-view.php Passed 13 tests
This is the main PHP file of "Wolfe Candy Tree View" version 0.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
88 characters long description:
Create an HTML front-end using shortcode to display a tree structure in multiple styles.
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
No dangerous file extensions were detected1,210 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 9 | 153 | 6 | 819 |
PHP | 3 | 162 | 115 | 391 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 118.00 |
▷ Minimum class complexity | 118.00 |
▷ Maximum class complexity | 118.00 |
Average method complexity | 11.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 60.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 9.09% |
Functions | 2 | |
▷ Named functions | 2 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
17 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icons/smilie.png | 2.47KB | 1.73KB | ▼ 29.98% |
icons/user-id.png | 1.76KB | 1.46KB | ▼ 16.88% |
icons/graph.png | 1.69KB | 1.46KB | ▼ 13.36% |
icons/reference.png | 2.64KB | 1.70KB | ▼ 35.57% |
icons/question_2.png | 2.62KB | 1.74KB | ▼ 33.57% |