Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.45ms] Passed 4 tests
A check of server-side resources used by Kurve
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.14 ▲2.79 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.67 ▼1.38 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.85 ▼6.28 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.15 ▼12.94 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.98 ▲3.29 |
Server storage [IO: ▲1.53MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 90 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Kurve
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.33 ▲0.04 | 1.76 ▲0.21 | 44.97 ▲0.23 |
Dashboard /wp-admin | 2,195 ▲15 | 5.63 ▼0.04 | 93.44 ▲4.49 | 42.85 ▼2.95 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.01 ▲0.02 | 33.56 ▼2.60 | 36.32 ▲1.23 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.30 ▼0.19 | 683.88 ▲15.35 | 54.28 ▲1.22 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.19 ▼0.04 | 94.47 ▼4.00 | 42.92 ▼0.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 33× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'KRV\\Controllers\\API\\Routes\\Reports\\ReportsRouteController' not found in wp-content/plugins/kurve/framework/Controllers/API/Routes/Reports/TaxesReportRouteController.php:16
- > PHP Fatal error
Uncaught Error: Class 'KRV\\Controllers\\API\\Routes\\Reports\\ReportsRouteController' not found in wp-content/plugins/kurve/framework/Controllers/API/Routes/Reports/SourcesReportRouteController.php:16
- > PHP Fatal error
Uncaught Error: Class 'KRV\\Controllers\\API\\Routes\\Reports\\ReportsRouteController' not found in wp-content/plugins/kurve/framework/Controllers/API/Routes/Reports/ProfitReportRouteController.php:16
- > PHP Fatal error
Uncaught Error: Class 'UAParser\\Result\\AbstractVersionedSoftware' not found in wp-content/plugins/kurve/vendor/ua-parser/uap-php/src/Result/OperatingSystem.php:12
- > PHP Fatal error
Uncaught Error: Class 'UAParser\\Result\\AbstractVersionedSoftware' not found in wp-content/plugins/kurve/vendor/ua-parser/uap-php/src/Result/UserAgent.php:12
- > PHP Fatal error
Uncaught Error: Class 'UAParser\\Exception\\DomainException' not found in wp-content/plugins/kurve/vendor/ua-parser/uap-php/src/Exception/FetcherException.php:11
- > PHP Fatal error
Uncaught Error: Class 'UAParser\\Result\\AbstractSoftware' not found in wp-content/plugins/kurve/vendor/ua-parser/uap-php/src/Result/AbstractVersionedSoftware.php:12
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Console\\Command\\Command' not found in wp-content/plugins/kurve/vendor/ua-parser/uap-php/src/Command/FetchCommand.php:18
- > PHP Fatal error
Uncaught Error: Class 'KRV\\Controllers\\API\\Routes\\Reports\\ReportsRouteController' not found in wp-content/plugins/kurve/framework/Controllers/API/Routes/Reports/DevicesReportRouteController.php:18
- > PHP Fatal error
Uncaught Error: Class 'UAParser\\AbstractParser' not found in wp-content/plugins/kurve/vendor/ua-parser/uap-php/src/DeviceParser.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
kurve/kurve.php 92% from 13 tests
The main PHP file in "Kurve" ver. 0.1.1 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 165 characters long)
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Please make sure to remedy the following
- Even if your plugin relies on executable files (for example a companion app), never distribute executable files with your plugin
- .bat - Batch File in Windows
- ☣ wp-content/plugins/kurve/vendor/bin/uaparser.bat
- .bat - Batch File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 66 | 870 | 1,333 | 9,731 |
Markdown | 3 | 99 | 0 | 317 |
JSON | 3 | 0 | 0 | 251 |
Bourne Shell | 1 | 11 | 0 | 29 |
XML | 1 | 0 | 0 | 15 |
DOS Batch | 1 | 0 | 0 | 4 |
CSS | 1 | 0 | 0 | 2 |
SVG | 2 | 0 | 0 | 2 |
JavaScript | 1 | 0 | 1 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 7.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 14 | |
Interfaces | 2 | |
Traits | 1 | |
Classes | 50 | |
▷ Abstract classes | 6 | 12.00% |
▷ Concrete classes | 44 | 88.00% |
▷ Final classes | 5 | 11.36% |
Methods | 202 | |
▷ Static methods | 53 | 26.24% |
▷ Public methods | 148 | 73.27% |
▷ Protected methods | 22 | 10.89% |
▷ Private methods | 32 | 15.84% |
Functions | 19 | |
▷ Named functions | 4 | 21.05% |
▷ Anonymous functions | 15 | 78.95% |
Constants | 17 | |
▷ Global constants | 14 | 82.35% |
▷ Class constants | 3 | 17.65% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin