Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.26ms] Passed 4 tests
Server-side resources used by Check Google Result
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 44.84 ▲3.07 |
Dashboard /wp-admin | 3.33 ▼0.01 | 49.20 ▼16.12 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 52.53 ▼1.56 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 110.57 ▲6.84 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.79 ▼2.41 |
Check Google Result /wp-admin/options-general.php?page=check-google-result-options | 3.22 | 32.18 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
check_google_result_show_to |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
check_google_result_get_name |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Check Google Result
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.76 ▲0.40 | 1.70 ▲0.03 | 38.18 ▼2.49 |
Dashboard /wp-admin | 2,199 ▲22 | 5.55 ▼0.02 | 85.92 ▼3.84 | 41.75 ▲1.04 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.03 ▲0.00 | 36.16 ▼4.66 | 32.95 ▼7.04 |
Add New Post /wp-admin/post-new.php | 1,536 ▲6 | 23.31 ▲0.29 | 669.09 ▲9.21 | 55.78 ▲2.37 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 4.18 ▼0.00 | 99.01 ▼7.02 | 44.35 ▲1.00 |
Check Google Result /wp-admin/options-general.php?page=check-google-result-options | 835 | 2.15 | 25.34 | 28.52 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- check_google_result_show_to
- db_upgraded
- widget_theysaidso_widget
- check_google_result_get_name
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/check-google-result/options.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/check-google-result/check-google-result.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: check, google, seo
check-google-result/check-google-result.php Passed 13 tests
The main file in "Check Google Result" v. 1.0.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
54 characters long description:
Check your post whether it is in Google Search Result.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin183 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 17 | 25 | 105 |
PO File | 2 | 22 | 22 | 78 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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