Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.76ms] Passed 4 tests
Analyzing server-side resources used by Surbma | Yoast SEO Sitemap to robots.txt
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.00 | 38.28 ▼3.80 |
Dashboard /wp-admin | 3.35 ▲0.01 | 50.14 ▼3.02 |
Posts /wp-admin/edit.php | 3.40 ▲0.00 | 47.90 ▲3.16 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.00 | 83.04 ▼17.46 |
Media Library /wp-admin/upload.php | 3.27 ▲0.00 | 38.72 ▲1.26 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Surbma | Yoast SEO Sitemap to robots.txt
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.35 ▲0.14 | 1.62 ▼0.14 | 37.82 ▼6.48 |
Dashboard /wp-admin | 2,198 ▲18 | 5.60 ▼0.03 | 93.70 ▼2.11 | 41.87 ▲6.33 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.04 ▲0.05 | 38.46 ▼2.97 | 37.23 ▲0.29 |
Add New Post /wp-admin/post-new.php | 1,531 ▼4 | 23.20 ▲4.83 | 681.48 ▲26.31 | 53.77 ▼24.70 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.29 ▲0.04 | 97.26 ▼6.60 | 42.19 ▲0.20 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/surbma-yoast-seo-sitemap-to-robotstxt/surbma-yoast-seo-sitemap-to-robotstxt.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: wordpress seo, yoast seo, robotstxt, multisite, xml sitemap...
surbma-yoast-seo-sitemap-to-robotstxt/surbma-yoast-seo-sitemap-to-robotstxt.php 92% from 13 tests
The main PHP script in "Surbma | Yoast SEO Sitemap to robots.txt" version 2.0 is automatically included on every request by WordPress
The following require your attention:
- Domain Path: The domain path is invalid: folder "/languages/" does not exist
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
Good job! No executable or dangerous file extensions detected18 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 8 | 14 | 15 |
Markdown | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
An overview 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.38 |
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 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin