Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼8.06ms] Passed 4 tests
Analyzing server-side resources used by Robots.txt Quick Editor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 40.31 ▼0.45 |
Dashboard /wp-admin | 3.33 ▲0.03 | 48.84 ▼8.87 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 46.32 ▼10.78 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 85.47 ▼11.61 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 37.11 ▼0.98 |
Robots.txt /wp-admin/options-general.php?page=robots-txt-quick-editor-page | 3.22 | 37.68 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
robots-txt-quick-editor-content |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
robots-txt-quick-editor-overwrite |
Browser metrics Passed 4 tests
A check of browser resources used by Robots.txt Quick Editor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲33 | 13.21 ▼1.17 | 2.16 ▲0.23 | 42.04 ▼1.69 |
Dashboard /wp-admin | 2,225 ▲22 | 5.89 ▲0.03 | 104.49 ▼4.84 | 41.45 ▼2.57 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.01 ▼0.01 | 33.93 ▼7.25 | 31.94 ▼12.45 |
Add New Post /wp-admin/post-new.php | 1,550 ▲24 | 23.25 ▲5.77 | 653.29 ▼36.96 | 55.28 ▼7.30 |
Media Library /wp-admin/upload.php | 1,404 ▲10 | 4.24 ▲0.01 | 97.41 ▼14.81 | 44.82 ▼1.60 |
Robots.txt /wp-admin/options-general.php?page=robots-txt-quick-editor-page | 817 | 2.14 | 24.97 | 25.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 8 options
- db_upgraded
- widget_recent-posts
- robots-txt-quick-editor-overwrite
- widget_recent-comments
- robots-txt-quick-editor-content
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/robots-txt-quick-editor/robots-txt-quick-editor.php
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: robots, seo, robotstxt
robots-txt-quick-editor/robots-txt-quick-editor.php Passed 13 tests
"Robots.txt Quick Editor" version 0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
30 characters long description:
Plugin to edit robots.txt file
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin145 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 12 | 10 | 114 |
PO File | 1 | 5 | 5 | 31 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin