Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼10.13ms] Passed 4 tests
This is a short check of server-side resources used by PRyC WP: Google Sitelinks Search Box snippest
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 35.61 ▼3.53 |
Dashboard /wp-admin | 3.31 ▼0.04 | 39.56 ▼18.89 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.72 ▼0.76 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 75.84 ▼15.24 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 30.61 ▼2.84 |
Server storage [IO: ▲0.00MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
PRyC WP: Google Sitelinks Search Box snippest: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲50 | 14.23 ▼0.30 | 1.72 ▲0.14 | 37.60 ▼4.38 |
Dashboard /wp-admin | 2,198 ▲18 | 5.63 ▲0.00 | 94.02 ▲5.69 | 43.11 ▲3.76 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▼0.04 | 40.44 ▲2.58 | 34.67 ▲0.76 |
Add New Post /wp-admin/post-new.php | 1,526 ▼11 | 23.42 ▲5.25 | 676.04 ▲12.84 | 51.74 ▼8.95 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.12 ▼0.06 | 94.47 ▼1.40 | 41.08 ▼2.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
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)
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
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Default search before), #2 (Default search after)
pryc-wp-google-sitelinks-search-box-snippest/pryc-wp-google-sitelinks-search-box-snippest.php Passed 13 tests
"PRyC WP: Google Sitelinks Search Box snippest" version 1.0.7's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
89 characters long description:
Plugin add to homepage code required to activate new Sitelinks Search Box @ Google search
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected24 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 8 | 13 | 24 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.67 |
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 | 1 | |
▷ Named functions | 1 | 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
There were not PNG files found in your plugin