Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- This plugin did not install gracefully
- > Error in wp-content/plugins/mycloudpress/mycloudpress.php+33
Uncaught Error: Class 'MyCloudPress\App' not found in wp-content/plugins/mycloudpress/mycloudpress.php:33
Stack trace:
#0 wp-admin/includes/plugin.php(2318): include_once()
#1 wp-admin/includes/plugin.php(663): plugin_sandbox_scrape()
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.84ms] Passed 4 tests
Server-side resources used by MyCloudPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.06 ▼2.28 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.66 ▲4.98 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.97 ▼2.88 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.32 ▼16.21 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.96 ▲2.03 |
Server storage [IO: ▲1.17MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 176 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
MyCloudPress: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.33 ▼1.06 | 2.01 ▲0.08 | 44.26 ▼5.06 |
Dashboard /wp-admin | 2,206 ▲17 | 5.88 ▲1.01 | 95.16 ▼22.10 | 38.80 ▲0.85 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.02 ▲0.02 | 35.31 ▼2.51 | 31.70 ▼4.59 |
Add New Post /wp-admin/post-new.php | 1,539 ▲25 | 23.13 ▲5.59 | 655.19 ▼30.33 | 53.10 ▼17.03 |
Media Library /wp-admin/upload.php | 1,382 ▼9 | 4.16 ▲0.01 | 96.69 ▼26.68 | 43.23 ▼8.89 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% 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 0% 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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/mycloudpress/mycloudpress.php
- 91× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'MyCloudPress\\Models\\Model' not found in wp-content/plugins/mycloudpress/app/Models/TermTaxonomy.php:9
- > PHP Fatal error
Uncaught Error: Class 'MyCloudPress\\Models\\Model' not found in wp-content/plugins/mycloudpress/app/Models/Termmeta.php:9
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Promise\\RejectionException' not found in wp-content/plugins/mycloudpress/vendor/guzzlehttp/promises/src/AggregateException.php:7
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\RequestException' not found in wp-content/plugins/mycloudpress/vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php:7
- > PHP Fatal error
Uncaught Error: Class 'MyCloudPress\\Services\\Service' not found in wp-content/plugins/mycloudpress/app/Services/WpSiteStatsService.php:14
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/mycloudpress/vendor/guzzlehttp/psr7/tests/ResponseTest.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\RequestInterface' not found in wp-content/plugins/mycloudpress/vendor/guzzlehttp/psr7/src/Request.php:12
- > PHP Fatal error
Uncaught Error: Class 'MyCloudPress\\Controllers\\Controller' not found in wp-content/plugins/mycloudpress/app/Controllers/AdminEventsController.php:23
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/mycloudpress/vendor/guzzlehttp/psr7/tests/BufferStreamTest.php:6
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/mycloudpress/vendor/guzzlehttp/psr7/tests/StreamDecoratorTraitTest.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: sync, realtime, backup
mycloudpress/mycloudpress.php 85% from 13 tests
The entry point to "MyCloudPress" version 1.0.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Text Domain: The text domain name should consist of only dashes and lowercase characters
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
Everything looks great! No dangerous files found in this plugin16,476 lines of code in 162 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 143 | 2,554 | 4,712 | 13,113 |
Markdown | 9 | 843 | 0 | 2,946 |
JSON | 5 | 0 | 0 | 367 |
make | 2 | 11 | 0 | 31 |
XML | 1 | 0 | 0 | 17 |
CSS | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 8.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 1.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 14 | |
Interfaces | 14 | |
Traits | 2 | |
Classes | 115 | |
▷ Abstract classes | 3 | 2.61% |
▷ Concrete classes | 112 | 97.39% |
▷ Final classes | 5 | 4.46% |
Methods | 1,094 | |
▷ Static methods | 49 | 4.48% |
▷ Public methods | 980 | 89.58% |
▷ Protected methods | 4 | 0.37% |
▷ Private methods | 110 | 10.05% |
Functions | 183 | |
▷ Named functions | 62 | 33.88% |
▷ Anonymous functions | 121 | 66.12% |
Constants | 42 | |
▷ Global constants | 6 | 14.29% |
▷ Class constants | 36 | 85.71% |
▷ Public constants | 36 | 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
4 PNG files occupy 0.41MB with 0.23MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 174.25KB | 55.26KB | ▼ 68.29% |
assets/screenshot-2.png | 190.96KB | 60.76KB | ▼ 68.18% |
assets/icon-256x256.png | 41.41KB | 23.50KB | ▼ 43.26% |
assets/icon-128x128.png | 14.59KB | 8.70KB | ▼ 40.38% |