Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼5.32ms] Passed 4 tests
Server-side resources used by wpmanagerpro
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.23 | 42.88 ▲1.88 |
Dashboard /wp-admin | 3.52 ▲0.17 | 46.63 ▼16.32 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 47.82 ▲1.51 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 79.01 ▼8.35 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 37.94 ▲4.50 |
Server storage [IO: ▲2.74MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 126 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
mng_user_hit_count |
theysaidso_admin_options |
Browser metrics Passed 4 tests
wpmanagerpro: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲38 | 13.22 ▼1.34 | 4.56 ▲2.58 | 32.12 ▼10.80 |
Dashboard /wp-admin | 2,215 ▲24 | 4.82 ▼0.07 | 110.69 ▲0.20 | 44.83 ▼5.28 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 2.04 ▲0.06 | 39.32 ▲4.48 | 38.98 ▲5.33 |
Add New Post /wp-admin/post-new.php | 1,542 ▲14 | 23.11 ▲5.01 | 662.92 ▲69.21 | 51.77 ▼3.62 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.19 ▲0.00 | 98.51 ▲2.35 | 43.86 ▼0.23 |
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
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- mng_user_hit_count
- 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
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wpmanagerpro/class/backups.php
- 72× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Dropbox\\Exception' not found in wp-content/plugins/wpmanagerpro/vendor/Dropbox/Exception/NetworkIO.php:7
- > PHP Fatal error
Uncaught Error: Class 'Google_ServiceResource' not found in wp-content/plugins/wpmanagerpro/vendor/google-api-client/contrib/Google_GanService.php:25
- > PHP Warning
require_once(io/Google_HttpRequest.php): failed to open stream: No such file or directory in wp-content/plugins/wpmanagerpro/vendor/google-api-client/io/Google_IO.php on line 18
- > PHP Fatal error
Uncaught Error: Interface 'Dropbox\\ValueStore' not found in wp-content/plugins/wpmanagerpro/vendor/Dropbox/ArrayEntryStore.php:7
- > PHP Fatal error
Uncaught Error: Class 'Google_ServiceResource' not found in wp-content/plugins/wpmanagerpro/vendor/google-api-client/contrib/Google_Oauth2Service.php:25
- > PHP Fatal error
Uncaught Error: Class 'Google_ServiceResource' not found in wp-content/plugins/wpmanagerpro/vendor/google-api-client/contrib/Google_BloggerService.php:25
- > PHP Fatal error
Uncaught Error: Class 'Google_ServiceResource' not found in wp-content/plugins/wpmanagerpro/vendor/google-api-client/contrib/Google_WebfontsService.php:25
- > PHP Fatal error
Uncaught Error: Class 'Google_ServiceResource' not found in wp-content/plugins/wpmanagerpro/vendor/google-api-client/contrib/Google_YouTubeAnalyticsService.php:25
- > PHP Fatal error
Uncaught Error: Class 'Google_Cache' not found in wp-content/plugins/wpmanagerpro/vendor/google-api-client/cache/Google_MemcacheCache.php:26
- > PHP Fatal error
Uncaught Error: Class 'Google_ServiceResource' not found in wp-content/plugins/wpmanagerpro/vendor/google-api-client/contrib/Google_AndroidpublisherService.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: authentication, admin, seo, administration, automatic...
wpmanagerpro/wpmanagerpro.php Passed 13 tests
This is the main PHP file of "wpmanagerpro" version 1.0.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
86 characters long description:
Manage Multiple WordPress sites from one dashboard. Visit wpmanagerpro.com to sign up.
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
It is important to fix the following items
- Do not include executable or dangerous files in your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/wpmanagerpro/vendor/Dropbox/trusted-certs.crt
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 123 | 3,444 | 14,833 | 57,894 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
Average class complexity | 2.63 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 442.00 |
Average method complexity | 1.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 1,426 | |
▷ Abstract classes | 5 | 0.35% |
▷ Concrete classes | 1,421 | 99.65% |
▷ Final classes | 18 | 1.27% |
Methods | 11,654 | |
▷ Static methods | 76 | 0.65% |
▷ Public methods | 11,598 | 99.52% |
▷ Protected methods | 11 | 0.09% |
▷ Private methods | 45 | 0.39% |
Functions | 10 | |
▷ Named functions | 5 | 50.00% |
▷ Anonymous functions | 5 | 50.00% |
Constants | 23 | |
▷ Global constants | 8 | 34.78% |
▷ Class constants | 15 | 65.22% |
▷ Public constants | 15 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin