Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.27MB] [CPU: ▼12.86ms] Passed 4 tests
A check of server-side resources used by Website and quality monitoring (by koality.io)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.87 ▲0.41 | 40.68 ▼1.23 |
Dashboard /wp-admin | 3.74 ▲0.43 | 51.33 ▲0.52 |
Posts /wp-admin/edit.php | 3.79 ▲0.43 | 51.28 ▲3.77 |
Add New Post /wp-admin/post-new.php | 3.55 ▼2.33 | 38.39 ▼54.50 |
Media Library /wp-admin/upload.php | 3.66 ▲0.43 | 40.46 ▲7.73 |
Configuration /wp-admin/admin.php?page=checks | 3.57 | 35.16 |
Content Monitoring /wp-admin/admin.php?page=koality-settings-content | 3.56 | 35.40 |
Security Monitoring /wp-admin/admin.php?page=koality-settings-security | 3.56 | 49.32 |
koality.io /wp-admin/admin.php?page=koality | 3.56 | 33.28 |
System Monitoring /wp-admin/admin.php?page=koality-settings-server | 3.56 | 31.17 |
Server storage [IO: ▲1.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 262 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Website and quality monitoring (by koality.io)
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲63 | 14.67 ▲0.40 | 1.84 ▲0.00 | 36.73 ▼7.11 |
Dashboard /wp-admin | 2,230 ▲53 | 5.64 ▼0.00 | 97.03 ▼3.52 | 41.26 ▼5.68 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 2.02 ▲0.08 | 44.11 ▲6.51 | 37.48 ▲3.14 |
Add New Post /wp-admin/post-new.php | 1,559 ▲33 | 20.74 ▼2.51 | 688.25 ▲70.88 | 53.20 ▼0.47 |
Media Library /wp-admin/upload.php | 1,435 ▲32 | 4.14 ▼0.06 | 94.66 ▼3.47 | 43.69 ▼0.41 |
Configuration /wp-admin/admin.php?page=checks | 998 | 2.12 | 27.48 | 31.95 |
Content Monitoring /wp-admin/admin.php?page=koality-settings-content | 839 | 2.03 | 25.87 | 30.71 |
Security Monitoring /wp-admin/admin.php?page=koality-settings-security | 868 | 1.97 | 31.03 | 38.65 |
koality.io /wp-admin/admin.php?page=koality | 862 | 2.16 | 23.23 | 28.49 |
System Monitoring /wp-admin/admin.php?page=koality-settings-server | 828 | 2.00 | 26.00 | 26.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- koality_api_key
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=koality-settings-content
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
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
Please fix the following items
- 102× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Leankoala\\HealthFoundationBase\\Check\\Check' not found in wp-content/plugins/koality-io/vendor/leankoala/healthfoundationchecks/src/Database/Mysql/Slave/SlaveStatusFieldCheck.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Leankoala\\HealthFoundationBase\\Check\\Check' not found in wp-content/plugins/koality-io/vendor/leankoala/healthfoundationchecks/src/System/NumberProcessesCheck.php:9
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\BadResponseException' not found in wp-content/plugins/koality-io/vendor/guzzlehttp/guzzle/src/Exception/ServerException.php:8
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/koality-io/vendor/guzzlehttp/promises/src/RejectedPromise.php:15
- > PHP Fatal error
Uncaught Error: Interface 'Leankoala\\HealthFoundationBase\\Check\\Check' not found in wp-content/plugins/koality-io/vendor/leankoala/healthfoundationchecks/src/Docker/Container/ContainerIsRunningCheck.php:9
- > PHP Fatal error
Uncaught Error: Class 'Leankoala\\HealthFoundationChecks\\BasicCheck' not found in wp-content/plugins/koality-io/vendor/leankoala/healthfoundationchecks/src/Files/Content/NumberOfLinesCheck.php:9
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\RequestException' not found in wp-content/plugins/koality-io/vendor/guzzlehttp/guzzle/src/Exception/TooManyRedirectsException.php:5
- > PHP Fatal error
Uncaught Error: Interface 'Leankoala\\HealthFoundationBase\\Check\\Check' not found in wp-content/plugins/koality-io/vendor/leankoala/healthfoundationchecks/src/Basic/StaticCheck.php:15
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/koality-io/vendor/guzzlehttp/psr7/src/CachingStream.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/koality-io/src/Admin/partials/settings-woocommerce.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Contributors: The plugin contributors field is not present
koality-io/koality-io.php 85% from 13 tests
"Website and quality monitoring (by koality.io)" version 1.4.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("6.0.0" instead of "5.4")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected18,737 lines of code in 235 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 201 | 3,067 | 6,761 | 13,416 |
Markdown | 20 | 1,483 | 0 | 4,008 |
JSON | 14 | 0 | 0 | 1,313 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 9.77 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 99.00 |
Average method complexity | 2.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 53 | |
Interfaces | 33 | |
Traits | 3 | |
Classes | 140 | |
▷ Abstract classes | 7 | 5.00% |
▷ Concrete classes | 133 | 95.00% |
▷ Final classes | 35 | 26.32% |
Methods | 1,006 | |
▷ Static methods | 174 | 17.30% |
▷ Public methods | 839 | 83.40% |
▷ Protected methods | 21 | 2.09% |
▷ Private methods | 146 | 14.51% |
Functions | 108 | |
▷ Named functions | 15 | 13.89% |
▷ Anonymous functions | 93 | 86.11% |
Constants | 152 | |
▷ Global constants | 2 | 1.32% |
▷ Class constants | 150 | 98.68% |
▷ Public constants | 139 | 92.67% |
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