Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲2.05MB] [CPU: ▲7.92ms] Passed 4 tests
This is a short check of server-side resources used by Tools Engine - AIO Custom Fields
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.48 ▲2.01 | 53.04 ▲15.21 |
Dashboard /wp-admin | 5.39 ▲2.04 | 61.29 ▲1.36 |
Posts /wp-admin/edit.php | 5.42 ▲2.06 | 61.38 ▲19.47 |
Add New Post /wp-admin/post-new.php | 7.97 ▲2.08 | 92.12 ▲1.15 |
Media Library /wp-admin/upload.php | 5.30 ▲2.07 | 51.68 ▲13.97 |
Add New /wp-admin/post-new.php?post_type=tools-engine | 5.38 | 61.32 |
Tools /wp-admin/edit.php?post_type=tools-engine&page=tools | 5.29 | 44.85 |
Field Groups /wp-admin/edit.php?post_type=tools-engine | 5.37 | 48.38 |
Server storage [IO: ▲6.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 89 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Tools Engine - AIO Custom Fields
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,055 ▲309 | 15.32 ▲0.96 | 1.68 ▲0.01 | 42.62 ▲3.67 |
Dashboard /wp-admin | 2,406 ▲232 | 6.99 ▲1.38 | 108.40 ▲16.94 | 82.07 ▲43.66 |
Posts /wp-admin/edit.php | 2,493 ▲393 | 4.35 ▲2.33 | 53.01 ▲15.06 | 70.34 ▲32.15 |
Add New Post /wp-admin/post-new.php | 6,554 ▲5,026 | 30.96 ▲7.96 | 1,218.09 ▲554.00 | 118.68 ▲59.01 |
Media Library /wp-admin/upload.php | 1,637 ▲237 | 5.55 ▲1.47 | 90.13 ▼23.91 | 89.60 ▲42.91 |
Add New /wp-admin/post-new.php?post_type=tools-engine | 2,142 | 9.64 | 324.50 | 99.50 |
Tools /wp-admin/edit.php?post_type=tools-engine&page=tools | 1,230 | 7.49 | 82.04 | 69.44 |
Field Groups /wp-admin/edit.php?post_type=tools-engine | 1,499 | 7.23 | 84.16 | 93.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Add new custom fields under field group.), #2 (Field Groups List View.), #3 (Custom Field Edit View.), #4 (Theme Code Section.), #5 (WordPress edit screen & custom field data.)
tools-engine/tools-engine.php 92% from 13 tests
The primary PHP file in "Tools Engine - AIO Custom Fields" version 1.1 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis 97% from 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
Good job! No executable or dangerous file extensions detected17,452 lines of code in 66 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 51 | 1,625 | 859 | 9,248 |
CSS | 10 | 313 | 177 | 5,498 |
SVG | 2 | 0 | 0 | 2,695 |
JavaScript | 3 | 0 | 27 | 11 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
The following items need your attention
- Please reduce cyclomatic complexity of methods to less than 100 (currently 220)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 35.82 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 323.00 |
Average method complexity | 6.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 220.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 50 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 50 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 297 | |
▷ Static methods | 179 | 60.27% |
▷ Public methods | 296 | 99.66% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 0.34% |
Functions | 8 | |
▷ Named functions | 7 | 87.50% |
▷ Anonymous functions | 1 | 12.50% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
13 PNG files occupy 0.64MB with 0.35MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 125.80KB | 33.31KB | ▼ 73.52% |
assets/images/warning.png | 0.56KB | 0.24KB | ▼ 57.02% |
assets/images/alert.png | 3.23KB | 2.86KB | ▼ 11.31% |
assets/images/info.png | 0.56KB | 0.24KB | ▼ 57.02% |
screenshot-1.png | 96.51KB | 24.93KB | ▼ 74.17% |