Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.95MB] [CPU: ▼32.42ms] Passed 4 tests
A check of server-side resources used by Google Plus Share and +1 Button
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.26 ▼1.26 |
Dashboard /wp-admin | 2.99 ▼0.31 | 23.56 ▼20.73 |
Posts /wp-admin/edit.php | 2.99 ▼0.36 | 22.73 ▼27.74 |
Add New Post /wp-admin/post-new.php | 2.99 ▼2.89 | 22.68 ▼70.19 |
Media Library /wp-admin/upload.php | 2.99 ▼0.23 | 21.67 ▼11.02 |
Google Plus Settings /wp-admin/options-general.php?page=Google_Plus_Settings | 2.99 | 21.58 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Google Plus Share and +1 Button
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.30 ▼1.45 | 5.57 ▲3.77 | 40.32 ▼7.74 |
Dashboard /wp-admin | 2,210 ▲19 | 5.83 ▼0.04 | 96.28 ▼1.18 | 37.79 ▼4.39 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.04 ▲0.05 | 33.89 ▼6.05 | 37.73 ▼0.09 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.34 ▲0.38 | 684.60 ▲41.17 | 52.81 ▼9.14 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.19 ▼0.03 | 96.97 ▼3.59 | 44.26 ▲1.43 |
Google Plus Settings /wp-admin/options-general.php?page=Google_Plus_Settings | 783 | 2.03 | 25.58 | 25.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The plugin did not uninstall gracefully
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=Google_Plus_Settings
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/options-general.php?page=Google_Plus_Settings
- > Notice in wp-content/plugins/google-plus-share-and-plusone-button/gpsb-settings.php+3
Undefined index: gpsb_hidden
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/google-plus-share-and-plusone-button/google-plus-share-and-plusone-button.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/google-plus-share-and-plusone-button/gpsb-settings.php:23
- > PHP Notice
Undefined index: gpsb_hidden in wp-content/plugins/google-plus-share-and-plusone-button/gpsb-settings.php on line 3
- > 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 is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: google share button, google plus, google 1 button, google, googleplus...
google-plus-share-and-plusone-button/google-plus-share-and-plusone-button.php Passed 13 tests
The main file in "Google Plus Share and +1 Button" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
68 characters long description:
Puts a Google Plus +1 Button to top of Pages and Posts. 3oopx wide..
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected63 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 18 | 11 | 63 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
No PNG images were found in this plugin