Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.45MB] [CPU: ▼1.00ms] Passed 4 tests
A check of server-side resources used by Vision - Image Map Builder
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.30 | 39.56 ▲4.83 |
Dashboard /wp-admin | 3.81 ▲0.51 | 46.30 ▲3.10 |
Posts /wp-admin/edit.php | 3.92 ▲0.57 | 50.68 ▲6.19 |
Add New Post /wp-admin/post-new.php | 6.39 ▲0.50 | 83.79 ▼18.11 |
Media Library /wp-admin/upload.php | 3.73 ▲0.50 | 38.28 ▲6.23 |
Settings /wp-admin/admin.php?page=vision_settings | 3.71 | 38.08 |
All Items /wp-admin/admin.php?page=vision | 3.92 | 33.12 |
Add New /wp-admin/admin.php?page=vision_item | 4.09 | 37.32 |
Server storage [IO: ▲9.40MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 435 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_vision |
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Vision - Image Map Builder
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 13.67 ▼0.69 | 1.61 ▼0.02 | 37.68 ▲0.29 |
Dashboard /wp-admin | 2,237 ▲49 | 5.91 ▲0.00 | 107.15 ▼9.32 | 36.66 ▼10.05 |
Posts /wp-admin/edit.php | 2,120 ▲34 | 2.04 ▲0.04 | 41.55 ▲5.54 | 35.19 ▲1.55 |
Add New Post /wp-admin/post-new.php | 1,553 ▲34 | 23.16 ▼0.11 | 669.90 ▲31.44 | 52.36 ▼9.64 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.23 ▲0.01 | 107.48 ▲5.28 | 47.64 ▲1.37 |
Settings /wp-admin/admin.php?page=vision_settings | 1,636 | 2.40 | 43.29 | 39.71 |
All Items /wp-admin/admin.php?page=vision | 1,204 | 1.87 | 27.19 | 36.75 |
Add New /wp-admin/admin.php?page=vision_item | 4,470 | 9.72 | 197.10 | 81.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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 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
4 plugin tags: real estate, image map, visual presentation, floor plan
vision/vision.php 92% from 13 tests
"Vision - Image Map Builder" version 1.7.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("4.0" instead of "4.6")
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
There were no executable files found in this plugin8,925 lines of code in 423 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 380 | 347 | 2,898 |
SVG | 2 | 0 | 1 | 2,735 |
JavaScript | 396 | 381 | 10 | 2,690 |
PO File | 1 | 259 | 285 | 594 |
CSS | 8 | 0 | 27 | 8 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 63.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 153.00 |
Average method complexity | 5.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 56 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 55 | 98.21% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.79% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 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
4 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/desktop.png | 0.19KB | 0.13KB | ▼ 33.67% |
assets/images/mobile.png | 0.18KB | 0.11KB | ▼ 38.38% |
assets/images/image.png | 0.26KB | 0.16KB | ▼ 39.54% |
assets/images/tablet.png | 0.17KB | 0.11KB | ▼ 34.83% |