Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.12ms] Passed 4 tests
A check of server-side resources used by GoZen Growth
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.29 ▼2.92 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.71 ▼5.19 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.33 ▲1.07 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.47 ▼8.59 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.93 ▲0.21 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 27 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_gozen_growth |
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
GoZen Growth: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▲0.12 | 1.94 ▲0.31 | 39.51 ▼4.85 |
Dashboard /wp-admin | 2,192 ▲15 | 5.51 ▼0.11 | 86.37 ▼5.99 | 39.35 ▼1.32 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.02 ▲0.06 | 50.66 ▲11.61 | 42.12 ▲6.24 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.21 ▼0.43 | 681.77 ▲40.30 | 52.97 ▲5.78 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.26 ▲0.02 | 97.70 ▼14.72 | 42.43 ▼2.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie tables were found after uninstall: 1 table
- wp_gozen_growth
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 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)
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
Almost there! Just fix the following items
- 9× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
require_once(): Failed opening required 'GOZENGROWTH_BAE_PATHpage/generalpage.php' (include_path='.:/usr/share/php') in wp-content/plugins/gozen-growth/API/api_endpoint/gozen_api.php on line 7
- > PHP Warning
Use of undefined constant GOZENGROWTH_BAE_PATH - assumed 'GOZENGROWTH_BAE_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/gozen-growth/API/api_key.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_environment_type() in wp-content/plugins/gozen-growth/API/env/env.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_current_user_id() in wp-content/plugins/gozen-growth/const_gz_vlu.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/gozen-growth/maingozen.php:29
- > PHP Warning
Use of undefined constant GOZENGROWTH_BAE_PATH - assumed 'GOZENGROWTH_BAE_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/gozen-growth/API/api_endpoint/gozen_api.php on line 7
- > PHP Fatal error
require_once(): Failed opening required 'GOZENGROWTH_BAE_PATHAPI/api_secret.php' (include_path='.:/usr/share/php') in wp-content/plugins/gozen-growth/API/api_key.php on line 3
- > PHP Warning
require_once(GOZENGROWTH_BAE_PATHpage/generalpage.php): failed to open stream: No such file or directory in wp-content/plugins/gozen-growth/API/api_endpoint/gozen_api.php on line 7
- > PHP Warning
require_once(GOZENGROWTH_BAE_PATHAPI/api_secret.php): failed to open stream: No such file or directory in wp-content/plugins/gozen-growth/API/api_key.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Donate link: Invalid url: ""
gozen-growth/maingozen.php 69% from 13 tests
The primary PHP file in "GoZen Growth" version 1.0.5 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("gozen-growth.php" instead of "maingozen.php")
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.0" instead of "4.6.1")
- Domain Path: The domain path folder does not exist ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin1,359 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 422 | 535 | 996 |
CSS | 1 | 31 | 23 | 258 |
JavaScript | 1 | 21 | 18 | 105 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 5.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 1.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 21 | 38.89% |
▷ Public methods | 51 | 94.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 5.56% |
Functions | 13 | |
▷ Named functions | 11 | 84.62% |
▷ Anonymous functions | 2 | 15.38% |
Constants | 16 | |
▷ Global constants | 16 | 100.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
PNG images were not found in this plugin