Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼8.15ms] Passed 4 tests
A check of server-side resources used by MM Google Connection
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 41.34 ▼1.83 |
Dashboard /wp-admin | 3.37 ▲0.02 | 52.86 ▼14.41 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 49.09 ▼6.46 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 98.57 ▼9.88 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 41.39 ▲3.31 |
Server storage [IO: ▲6.51MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 141 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for MM Google Connection
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲18 | 14.32 ▲0.05 | 1.85 ▼0.24 | 45.05 ▲2.53 |
Dashboard /wp-admin | 2,195 ▲18 | 5.66 ▲0.06 | 96.57 ▲3.97 | 45.36 ▼0.92 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.01 | 37.86 ▼0.32 | 33.85 ▼0.62 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.31 ▲0.21 | 648.81 ▼9.64 | 58.46 ▲1.19 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.24 ▲0.01 | 98.71 ▼9.30 | 43.73 ▼4.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means 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
Almost there! Just fix the following items
- 91× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/mm-google-connect/google_lib/Service/Taskqueue.php:31
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/mm-google-connect/google_lib/Service/Proximitybeacon.php:31
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/mm-google-connect/google_lib/Service/Appengine.php:32
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/mm-google-connect/google_lib/Service/Customsearch.php:31
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/mm-google-connect/google_lib/Service/Storagetransfer.php:32
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/mm-google-connect/google_lib/Service/ShoppingContent.php:32
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/mm-google-connect/google_lib/Service/Reseller.php:31
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/mm-google-connect/google_lib/Service/Autoscaler.php:32
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/mm-google-connect/google_lib/Service/Compute.php:31
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/mm-google-connect/google_lib/Service/QPXExpress.php:32
- > 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 on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: signup, google signup, google, social login, google connect
mm-google-connect/mm-google-connection.php 85% from 13 tests
"MM Google Connection" version 1...'s primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Version: Use only periods and digits for the version number (ex. "1.0.3" instead of "1...")
- Main file name: Name the main plugin file the same as the plugin slug ("mm-google-connect.php" instead of "mm-google-connection.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin190,880 lines of code in 138 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 137 | 12,315 | 36,138 | 190,878 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.01 |
Average class complexity | 1.16 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 1.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 3,541 | |
▷ Abstract classes | 6 | 0.17% |
▷ Concrete classes | 3,535 | 99.83% |
▷ Final classes | 0 | 0.00% |
Methods | 27,403 | |
▷ Static methods | 13 | 0.05% |
▷ Public methods | 27,335 | 99.75% |
▷ Protected methods | 30 | 0.11% |
▷ Private methods | 38 | 0.14% |
Functions | 18 | |
▷ Named functions | 17 | 94.44% |
▷ Anonymous functions | 1 | 5.56% |
Constants | 291 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 291 | 100.00% |
▷ Public constants | 291 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin