Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.30MB] [CPU: ▼0.02ms] Passed 4 tests
Server-side resources used by Argiope amoena
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.33 | 38.29 ▼0.59 |
Dashboard /wp-admin | 3.63 ▲0.33 | 49.29 ▲1.66 |
Posts /wp-admin/edit.php | 3.68 ▲0.33 | 48.30 ▲5.11 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.27 | 80.53 ▼2.98 |
Media Library /wp-admin/upload.php | 3.49 ▲0.27 | 35.81 ▲1.83 |
Argiope amoena /wp-admin/options-general.php?page=argiope-amoena | 3.46 | 31.11 |
Server storage [IO: ▲12.40MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 1,548 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Argiope amoena
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.32 ▼0.03 | 1.60 ▼0.05 | 39.28 ▼4.61 |
Dashboard /wp-admin | 2,196 ▲22 | 5.53 ▼0.05 | 82.28 ▼4.07 | 36.52 ▼5.22 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.99 ▼0.02 | 37.94 ▲2.11 | 36.72 ▲1.57 |
Add New Post /wp-admin/post-new.php | 1,530 ▲2 | 23.14 ▲0.18 | 685.10 ▲21.42 | 71.00 ▲14.48 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.27 ▲0.15 | 94.35 ▼1.53 | 41.01 ▼1.64 |
Argiope amoena /wp-admin/options-general.php?page=argiope-amoena | 967 | 1.99 | 21.98 | 25.66 |
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
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=argiope-amoena
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=argiope-amoena
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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 fix the following
- 1265× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Aws\\Common\\Model\\MultipartUpload\\TransferStateInterface' not found in wp-content/plugins/argiope-amoena/includes/vendor/aws/aws-sdk-php/src/Aws/Common/Model/MultipartUpload/AbstractTransferState.php:24
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Common\\Enum' not found in wp-content/plugins/argiope-amoena/includes/vendor/aws/aws-sdk-php/src/Aws/ElasticBeanstalk/Enum/EnvironmentHealth.php:24
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Common\\Enum' not found in wp-content/plugins/argiope-amoena/includes/vendor/aws/aws-sdk-php/src/Aws/OpsWorks/Enum/LayerType.php:24
- > PHP Fatal error
Uncaught Error: Class 'Guzzle\\Tests\\GuzzleTestCase' not found in wp-content/plugins/argiope-amoena/includes/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Description/SchemaValidatorTest.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\EventDispatcher\\EventSubscriberInterface' not found in wp-content/plugins/argiope-amoena/includes/vendor/aws/aws-sdk-php/src/Aws/Common/Client/UserAgentListener.php:26
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Common\\Enum' not found in wp-content/plugins/argiope-amoena/includes/vendor/aws/aws-sdk-php/src/Aws/S3/Enum/CannedAcl.php:24
- > PHP Fatal error
Uncaught Error: Class 'Guzzle\\Tests\\GuzzleTestCase' not found in wp-content/plugins/argiope-amoena/includes/vendor/guzzle/guzzle/tests/Guzzle/Tests/Cache/NullCacheAdapterTest.php:10
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Common\\Exception\\ServiceResponseException' not found in wp-content/plugins/argiope-amoena/includes/vendor/aws/aws-sdk-php/src/Aws/CognitoIdentity/Exception/CognitoIdentityException.php:10
- > PHP Fatal error
Uncaught Error: Class 'Aws\\S3\\Exception\\S3Exception' not found in wp-content/plugins/argiope-amoena/includes/vendor/aws/aws-sdk-php/src/Aws/S3/Exception/NoSuchCORSConfigurationException.php:22
- > PHP Fatal error
Uncaught Error: Interface 'Guzzle\\Service\\Resource\\ResourceIteratorFactoryInterface' not found in wp-content/plugins/argiope-amoena/includes/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/AbstractResourceIteratorFactory.php:11
- > 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 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: aws, media, amazon, admin, uploads...
argiope-amoena/argiope-amoena.php 92% from 13 tests
This is the main PHP file of "Argiope amoena" version 0.3.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 202 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin246,086 lines of code in 1,528 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,437 | 11,009 | 39,908 | 240,651 |
reStructuredText | 30 | 1,236 | 1,794 | 1,824 |
JSON | 37 | 15 | 0 | 1,376 |
Markdown | 8 | 305 | 0 | 1,356 |
XML | 4 | 29 | 11 | 212 |
CSS | 2 | 19 | 2 | 142 |
make | 1 | 24 | 5 | 124 |
JavaScript | 2 | 13 | 38 | 123 |
HTML | 2 | 16 | 0 | 95 |
PO File | 2 | 22 | 28 | 86 |
Python | 1 | 22 | 23 | 49 |
Ant | 1 | 10 | 1 | 34 |
YAML | 1 | 3 | 0 | 14 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 3.48 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 113.00 |
Average method complexity | 1.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 49.00 |
Code structure | ||
---|---|---|
Namespaces | 256 | |
Interfaces | 76 | |
Traits | 0 | |
Classes | 1,333 | |
▷ Abstract classes | 38 | 2.85% |
▷ Concrete classes | 1,295 | 97.15% |
▷ Final classes | 1 | 0.08% |
Methods | 4,058 | |
▷ Static methods | 291 | 7.17% |
▷ Public methods | 3,591 | 88.49% |
▷ Protected methods | 352 | 8.67% |
▷ Private methods | 115 | 2.83% |
Functions | 160 | |
▷ Named functions | 1 | 0.62% |
▷ Anonymous functions | 159 | 99.38% |
Constants | 1,088 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1,088 | 100.00% |
▷ Public constants | 1,088 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.24MB with 0.08MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/vendor/guzzle/guzzle/docs/_static/guzzle-icon.png | 0.78KB | 0.94KB | 0.00% |
includes/vendor/guzzle/guzzle/docs/_static/logo.png | 241.87KB | 69.68KB | ▼ 71.19% |