Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲3.08MB] [CPU: ▲2,362.40ms] 50% from 4 tests
Analyzing server-side resources used by wp-sacloud-ojs
It is recommended to improve the following
- CPU: Try to keep total CPU usage under 500.00ms (currently 2,478.86ms on /wp-admin/options-general.php?page=wp-sacloud-ojs/wp-sacloud-ojs.php)
- Extra CPU: Extra CPU usage should be kept under 200.00ms (currently 2,362.40ms on /wp-admin/options-general.php?page=wp-sacloud-ojs/wp-sacloud-ojs.php)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.54 ▲3.08 | 2,759.59 ▲2,715.98 |
Dashboard /wp-admin | 6.41 ▲3.10 | 2,698.35 ▲2,650.29 |
Posts /wp-admin/edit.php | 6.46 ▲3.10 | 2,467.13 ▲2,418.85 |
Add New Post /wp-admin/post-new.php | 8.93 ▲3.04 | 2,658.84 ▲2,569.91 |
Media Library /wp-admin/upload.php | 6.33 ▲3.10 | 1,845.41 ▲1,810.54 |
ObjectStorage /wp-admin/options-general.php?page=wp-sacloud-ojs/wp-sacloud-ojs.php | 6.24 | 2,478.86 |
Server storage [IO: ▲13.89MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 2,067 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for wp-sacloud-ojs
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.22 ▼1.03 | 2.10 ▲0.30 | 36.89 ▼12.33 |
Dashboard /wp-admin | 2,219 ▲31 | 4.84 ▼0.04 | 94.41 ▼11.31 | 41.86 ▼0.53 |
Posts /wp-admin/edit.php | 2,098 ▲12 | 1.99 ▲0.01 | 32.63 ▼5.83 | 37.96 ▲4.11 |
Add New Post /wp-admin/post-new.php | 1,527 ▲13 | 21.26 ▲3.85 | 654.02 ▼21.72 | 54.38 ▲1.12 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.18 ▼0.05 | 89.89 ▼29.17 | 43.12 ▼2.14 |
ObjectStorage /wp-admin/options-general.php?page=wp-sacloud-ojs/wp-sacloud-ojs.php | 919 | 2.05 | 23.03 | 32.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
The following issues need your attention
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-sacloud-ojs/vendor/aws/aws-sdk-php/tests/bootstrap.php
- > /wp-content/plugins/wp-sacloud-ojs/vendor/aws/aws-sdk-php/compatibility-test.php
- 1535× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Guzzle\\Tests\\GuzzleTestCase' not found in wp-content/plugins/wp-sacloud-ojs/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/AbstractResponseVisitorTest.php:8
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Common\\Client\\AbstractClient' not found in wp-content/plugins/wp-sacloud-ojs/vendor/aws/aws-sdk-php/src/Aws/DeviceFarm/DeviceFarmClient.php:62
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Common\\Enum' not found in wp-content/plugins/wp-sacloud-ojs/vendor/aws/aws-sdk-php/src/Aws/S3/Enum/GranteeType.php:24
- > PHP Fatal error
Uncaught Error: Class 'Aws\\CloudFront\\Exception\\CloudFrontException' not found in wp-content/plugins/wp-sacloud-ojs/vendor/aws/aws-sdk-php/src/Aws/CloudFront/Exception/TooManyTrustedSignersException.php:22
- > PHP Fatal error
Uncaught Error: Class 'Aws\\S3\\Exception\\S3Exception' not found in wp-content/plugins/wp-sacloud-ojs/vendor/aws/aws-sdk-php/src/Aws/S3/Exception/NoSuchTagSetException.php:22
- > PHP Fatal error
Uncaught Error: Interface 'Aws\\Common\\Waiter\\WaiterFactoryInterface' not found in wp-content/plugins/wp-sacloud-ojs/vendor/aws/aws-sdk-php/src/Aws/Common/Waiter/WaiterClassFactory.php:28
- > PHP Fatal error
Uncaught Error: Class 'Guzzle\\Plugin\\Backoff\\AbstractErrorCodeBackoffStrategy' not found in wp-content/plugins/wp-sacloud-ojs/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/HttpBackoffStrategy.php:14
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/wp-sacloud-ojs/vendor/symfony/event-dispatcher/Tests/EventTest.php:20
- > PHP Fatal error
Uncaught Error: Class 'Aws\\SimpleDb\\Exception\\SimpleDbException' not found in wp-content/plugins/wp-sacloud-ojs/vendor/aws/aws-sdk-php/src/Aws/SimpleDb/Exception/AttributeDoesNotExistException.php:22
- > PHP Fatal error
Uncaught Error: Class 'Guzzle\\Tests\\GuzzleTestCase' not found in wp-content/plugins/wp-sacloud-ojs/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Description/SchemaFormatterTest.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Donate link: Invalid URI found ("")
wp-sacloud-ojs/wp-sacloud-ojs.php 92% from 13 tests
The entry point to "wp-sacloud-ojs" version 0.0.11 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 146 characters long)
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
These items require your attention
- You should never include executable (binary) or otherwise dangerous files in your plugin
- .bat - Batch File in Windows
- ☣ wp-content/plugins/wp-sacloud-ojs/vendor/aws/aws-sdk-php/docs/make.bat
- .bat - Batch File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,705 | 14,204 | 46,447 | 258,326 |
reStructuredText | 94 | 2,897 | 3,787 | 4,117 |
Markdown | 13 | 627 | 0 | 2,786 |
JSON | 38 | 25 | 0 | 1,554 |
make | 3 | 65 | 25 | 299 |
XML | 7 | 40 | 22 | 290 |
Python | 3 | 159 | 236 | 285 |
DOS Batch | 1 | 23 | 1 | 166 |
JavaScript | 3 | 17 | 39 | 160 |
CSS | 3 | 19 | 2 | 147 |
HTML | 5 | 22 | 12 | 137 |
PO File | 1 | 55 | 112 | 86 |
Ant | 1 | 10 | 1 | 34 |
YAML | 2 | 8 | 0 | 31 |
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.16 |
Average class complexity | 3.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 1.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 394 | |
Interfaces | 76 | |
Traits | 0 | |
Classes | 1,600 | |
▷ Abstract classes | 40 | 2.50% |
▷ Concrete classes | 1,560 | 97.50% |
▷ Final classes | 1 | 0.06% |
Methods | 5,183 | |
▷ Static methods | 325 | 6.27% |
▷ Public methods | 4,693 | 90.55% |
▷ Protected methods | 395 | 7.62% |
▷ Private methods | 95 | 1.83% |
Functions | 261 | |
▷ Named functions | 31 | 11.88% |
▷ Anonymous functions | 230 | 88.12% |
Constants | 1,117 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1,117 | 100.00% |
▷ Public constants | 1,117 | 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
4 PNG files occupy 0.38MB with 0.18MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/aws/aws-sdk-php/docs/_static/logo.png | 3.56KB | 1.50KB | ▼ 57.91% |
screenshot-1.png | 137.91KB | 44.97KB | ▼ 67.39% |
vendor/guzzle/guzzle/docs/_static/guzzle-icon.png | 0.78KB | 0.94KB | 0.00% |
vendor/guzzle/guzzle/docs/_static/logo.png | 241.87KB | 69.68KB | ▼ 71.19% |