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.01MB] [CPU: ▼2.49ms] Passed 4 tests
A check of server-side resources used by Include Sitename in Search Results
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.01 | 40.44 ▼2.17 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.30 ▼9.85 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.18 ▲1.38 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 94.01 ▲0.68 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.85 ▲4.03 |
Include Sitename in Search Result /wp-admin/options-general.php?page=ap-issr-setting-admin | 3.21 | 29.52 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Include Sitename in Search Results: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲72 | 13.25 ▼1.29 | 1.86 ▲0.04 | 43.49 ▼9.77 |
Dashboard /wp-admin | 2,210 ▲19 | 5.78 ▲0.91 | 96.09 ▼21.34 | 39.65 ▼8.35 |
Posts /wp-admin/edit.php | 2,096 ▲10 | 2.05 ▲0.01 | 39.86 ▲2.99 | 36.21 ▲2.67 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 18.31 ▼4.88 | 644.62 ▼56.36 | 60.65 ▼3.92 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.22 ▲0.02 | 93.66 ▼7.96 | 43.13 ▲2.22 |
Include Sitename in Search Result /wp-admin/options-general.php?page=ap-issr-setting-admin | 789 | 2.03 | 23.83 | 28.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/include-sitename-in-search-results/include-sitename-in-search-results.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: site name, search results, google, site name in search results, json-ld...
include-sitename-in-search-results/include-sitename-in-search-results.php 85% from 13 tests
The main PHP script in "Include Sitename in Search Results" version 1.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 464 characters long)
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected241 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 2 | 28 | 60 | 121 |
PHP | 1 | 15 | 23 | 120 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin