Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- This plugin did not install gracefully
- > Warning in wp-content/plugins/sc-google-ranking/ScGoogleRanking_Plugin.php+231
count(): Parameter must be an array or an object that implements Countable
Server metrics [RAM: ▼1.96MB] [CPU: ▼54.83ms] Passed 4 tests
A check of server-side resources used by SC Google Ranking
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 5.57 ▼37.15 |
Dashboard /wp-admin | 2.05 ▼1.26 | 8.82 ▼39.74 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.39 ▼45.40 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.43 ▼97.02 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.70 ▼28.51 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
ScGoogleRanking_Plugin__version |
ScGoogleRanking_Plugin_YourKeywords |
ScGoogleRanking_Plugin__installed |
widget_theysaidso_widget |
theysaidso_admin_options |
ScGoogleRanking_Plugin_GoogleDomain |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SC Google Ranking
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲76 | 13.32 ▼1.27 | 1.72 ▼0.01 | 43.57 ▲5.48 |
Dashboard /wp-admin | 2,224 ▲39 | 5.79 ▼0.07 | 96.95 ▼4.59 | 37.73 ▼3.83 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.02 ▲0.02 | 40.02 ▼2.48 | 36.19 ▼5.61 |
Add New Post /wp-admin/post-new.php | 1,543 ▲7 | 23.35 ▼0.03 | 602.94 ▼13.83 | 59.05 ▲10.35 |
Media Library /wp-admin/upload.php | 1,409 ▲18 | 4.22 ▼0.01 | 97.26 ▼5.93 | 42.10 ▼2.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Uninstall procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the my-style handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- This plugin does not fully uninstall, leaving 10 options in the database
- ScGoogleRanking_Plugin__installed
- ScGoogleRanking_Plugin_YourKeywords
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- ScGoogleRanking_Plugin__version
- ScGoogleRanking_Plugin_GoogleDomain
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
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
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/sc-google-ranking/sc-google-ranking.php:66
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Donate link: Invalid url: ""
sc-google-ranking/sc-google-ranking.php Passed 13 tests
The main file in "SC Google Ranking" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
74 characters long description:
Get the ranking of your URL in Google search engine provided with keywords
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 detected749 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 178 | 461 | 730 |
CSS | 1 | 2 | 0 | 19 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 16.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 1.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 65 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 38 | 58.46% |
▷ Protected methods | 27 | 41.54% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.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
PNG images were not found in this plugin