Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼5.14ms] Passed 4 tests
An overview of server-side resources used by Shesha by The Courier Guy
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 36.71 ▼6.93 |
Dashboard /wp-admin | 3.39 ▲0.08 | 48.53 ▼3.57 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 51.25 ▲0.17 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 86.65 ▼10.21 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 40.53 ▲3.96 |
Server storage [IO: ▲21.66MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 1,733 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Shesha by The Courier Guy
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.34 ▲0.02 | 1.80 ▲0.01 | 39.18 ▼5.05 |
Dashboard /wp-admin | 2,195 ▲15 | 5.63 ▲0.08 | 85.33 ▼10.60 | 40.13 ▼4.33 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.96 ▼0.08 | 35.61 ▼5.28 | 34.54 ▼4.13 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 23.09 ▲0.13 | 679.60 ▲44.43 | 56.11 ▲6.68 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.14 ▼0.03 | 99.73 ▼1.40 | 42.12 ▼4.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 737× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/the-courier-guy-shipping-for-sovtech/vendor/aws/aws-sdk-php/src/DAX/DAXClient.php:51
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AbstractConfigurationProvider' not found in wp-content/plugins/the-courier-guy-shipping-for-sovtech/vendor/aws/aws-sdk-php/src/S3/RegionalEndpoint/ConfigurationProvider.php:44
- > PHP Fatal error
Uncaught Error: Interface 'Aws\\AwsClientInterface' not found in wp-content/plugins/the-courier-guy-shipping-for-sovtech/vendor/aws/aws-sdk-php/src/S3/S3ClientInterface.php:10
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Api\\ErrorParser\\AbstractErrorParser' not found in wp-content/plugins/the-courier-guy-shipping-for-sovtech/vendor/aws/aws-sdk-php/src/Api/ErrorParser/RestJsonErrorParser.php:13
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/the-courier-guy-shipping-for-sovtech/vendor/aws/aws-sdk-php/src/GreengrassV2/Exception/GreengrassV2Exception.php:9
- > PHP Fatal error
Uncaught Error: Interface 'Aws\\MonitoringEventsInterface' not found in wp-content/plugins/the-courier-guy-shipping-for-sovtech/vendor/aws/aws-sdk-php/src/S3/RegionalEndpoint/Exception/ConfigurationException.php:10
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/the-courier-guy-shipping-for-sovtech/vendor/aws/aws-sdk-php/src/FIS/Exception/FISException.php:9
- > PHP Fatal error
Uncaught Error: Interface 'Aws\\MonitoringEventsInterface' not found in wp-content/plugins/the-courier-guy-shipping-for-sovtech/vendor/aws/aws-sdk-php/src/Exception/MultipartUploadException.php:8
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/the-courier-guy-shipping-for-sovtech/vendor/aws/aws-sdk-php/src/Amplify/AmplifyClient.php:83
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/the-courier-guy-shipping-for-sovtech/vendor/aws/aws-sdk-php/src/ACMPCA/Exception/ACMPCAException.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (Description of the second screenshot.) image missing
the-courier-guy-shipping-for-sovtech/class-the-courier-guy-shipping-for-sovtech.php 92% from 13 tests
"Shesha by The Courier Guy" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("the-courier-guy-shipping-for-sovtech.php" instead of "class-the-courier-guy-shipping-for-sovtech.php")
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Please make sure to remedy the following
- Do not distribute dangerous files with your plugin
- .bat - Batch File in Windows
- ☣ wp-content/plugins/the-courier-guy-shipping-for-sovtech/vendor/aws/aws-crt-php/run_tests.bat
- .bat - Batch File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,666 | 6,417 | 35,950 | 37,518 |
C | 10 | 250 | 89 | 882 |
JavaScript | 1 | 35 | 10 | 514 |
C/C++ Header | 2 | 105 | 38 | 441 |
JSON | 7 | 0 | 0 | 240 |
Markdown | 14 | 107 | 0 | 228 |
YAML | 4 | 30 | 57 | 191 |
Bourne Shell | 3 | 19 | 4 | 176 |
GLSL | 1 | 17 | 0 | 55 |
XML | 1 | 0 | 0 | 24 |
m4 | 1 | 4 | 4 | 22 |
Pascal | 1 | 5 | 15 | 14 |
Bourne Again Shell | 1 | 5 | 0 | 13 |
INI | 2 | 0 | 0 | 3 |
DOS Batch | 1 | 2 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 4.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 100.00 |
Code structure | ||
---|---|---|
Namespaces | 604 | |
Interfaces | 42 | |
Traits | 22 | |
Classes | 823 | |
▷ Abstract classes | 17 | 2.07% |
▷ Concrete classes | 806 | 97.93% |
▷ Final classes | 22 | 2.73% |
Methods | 2,164 | |
▷ Static methods | 365 | 16.87% |
▷ Public methods | 1,553 | 71.77% |
▷ Protected methods | 137 | 6.33% |
▷ Private methods | 474 | 21.90% |
Functions | 451 | |
▷ Named functions | 154 | 34.15% |
▷ Anonymous functions | 297 | 65.85% |
Constants | 156 | |
▷ Global constants | 6 | 3.85% |
▷ Class constants | 150 | 96.15% |
▷ Public constants | 150 | 100.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
No PNG files were detected