Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▲938.77ms] 50% from 4 tests
An overview of server-side resources used by LIQUID TREEMAP
Please take the time to fix the following items
- CPU: The total CPU usage must kept under 500.00ms (currently 1,342.80ms on /wp-admin/tools.php?page=liquid_treemap)
- Extra CPU: The extra CPU usage must be under 200.00ms (currently 938.77ms on /wp-admin/tools.php?page=liquid_treemap)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.10 ▼4.44 |
Dashboard /wp-admin | 3.39 ▲0.09 | 1,326.15 ▲1,268.35 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 1,331.67 ▲1,276.72 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 1,320.05 ▲1,214.45 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 1,461.58 ▲1,422.86 |
LIQUID TREEMAP /wp-admin/tools.php?page=liquid_treemap | 3.24 | 1,342.80 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
category_children |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for LIQUID TREEMAP
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.56 ▼0.16 | 1.73 ▼0.00 | 43.15 ▼0.11 |
Dashboard /wp-admin | 2,199 ▲19 | 5.59 ▼0.05 | 92.04 ▼5.16 | 38.78 ▲1.73 |
Posts /wp-admin/edit.php | 2,083 ▼20 | 1.98 ▼0.02 | 32.69 ▼8.54 | 36.21 ▲0.32 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.26 ▼0.20 | 649.24 ▼28.31 | 57.34 ▲4.38 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.15 ▲0.10 | 91.69 ▼14.01 | 40.59 ▼4.48 |
LIQUID TREEMAP /wp-admin/tools.php?page=liquid_treemap | 838 | 2.31 | 30.20 | 36.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- theysaidso_admin_options
- category_children
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/liquid-treemap/liquid-treemap.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/liquid-treemap/liquid-treemap-menu.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Donate link: Please fix this invalid url: ""
liquid-treemap/liquid-treemap.php Passed 13 tests
The main PHP file in "LIQUID TREEMAP" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
20 characters long description:
LIQUID PRESS Plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected9,861 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 10 | 0 | 9,544 |
PHP | 2 | 47 | 46 | 279 |
CSS | 1 | 9 | 0 | 38 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.65 |
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 | 4 | |
▷ Named functions | 4 | 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
No PNG files were detected