Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼139.97ms] Passed 4 tests
A check of server-side resources used by Terra Themes Tools
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.14 | 35.68 ▲12.70 |
Dashboard /wp-admin | 3.10 ▲0.04 | 54.31 ▲6.10 |
Posts /wp-admin/edit.php | 3.21 ▲0.11 | 54.99 ▲2.42 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.00 | 92.05 ▼570.44 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 35.31 ▲2.05 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Terra Themes Tools: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,900 ▲304 | 17.59 ▲2.03 | 9.48 ▲0.34 | 52.49 ▼0.33 |
Dashboard /wp-admin | 3,167 ▲239 | 7.93 ▲1.98 | 193.58 ▲10.20 | 119.80 ▼30.45 |
Posts /wp-admin/edit.php | 2,965 ▲226 | 4.16 ▲1.46 | 97.19 ▲16.83 | 89.57 ▼13.29 |
Add New Post /wp-admin/post-new.php | 1,687 ▲83 | 18.66 ▼0.21 | 385.71 ▲13.87 | 128.03 ▲10.17 |
Media Library /wp-admin/upload.php | 1,811 ▲4 | 4.80 ▼0.22 | 125.54 ▼21.63 | 161.61 ▲40.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
The following issues need your attention
- 13× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/terra-themes-tools/inc/metaboxes/slides-shortcode-metabox.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/terra-themes-tools/inc/metaboxes/projects-metabox.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/terra-themes-tools/inc/post-type-clients.php:69
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/terra-themes-tools/inc/post-type-projects.php:69
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/terra-themes-tools/inc/post-type-employees.php:69
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/terra-themes-tools/inc/custom-taxanomy-field/register-taxanomy-fields.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/terra-themes-tools/inc/post-type-testimonials.php:68
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/terra-themes-tools/inc/metaboxes/slides-metabox.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/terra-themes-tools/inc/post-type-slides.php:69
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/terra-themes-tools/inc/metaboxes/clients-metabox.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
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
3 plugin tags: terra themes, terrathemes, terra themes tools
terra-themes-tools/terra-themes-tools.php 92% from 13 tests
The main PHP file in "Terra Themes Tools" ver. 1.5 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
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 plugin2,832 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 265 | 168 | 1,751 |
CSS | 1 | 48 | 8 | 994 |
JavaScript | 1 | 32 | 21 | 87 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 16.43 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 4.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 1 | 2.94% |
▷ Public methods | 34 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/img/terra-themes-favicon.png | 1.52KB | 0.64KB | ▼ 57.85% |