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
Installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼3.96ms] Passed 4 tests
Server-side resources used by Robots.txt Editor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 44.16 ▼1.91 |
Dashboard /wp-admin | 3.40 ▲0.10 | 60.22 ▲4.75 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 51.49 ▼1.40 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 86.93 ▼15.56 |
Media Library /wp-admin/upload.php | 3.32 ▲0.10 | 38.43 ▲3.03 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 27 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
robotsOptions |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Robots.txt Editor
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.65 ▲0.27 | 1.73 ▲0.13 | 46.88 ▲2.67 |
Dashboard /wp-admin | 2,198 ▲18 | 5.62 ▼0.04 | 89.97 ▲1.28 | 42.73 ▲6.00 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.96 ▼0.07 | 34.59 ▼4.07 | 35.95 ▼1.35 |
Add New Post /wp-admin/post-new.php | 1,526 ▼1 | 23.09 ▲0.11 | 661.10 ▼12.96 | 51.63 ▼6.58 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.20 ▼0.01 | 95.63 ▼15.61 | 41.86 ▼2.39 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive 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)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: Screenshot #1 (Robots.txt settings) image required
robots-txt-editor/robots-txt-editor.php Passed 13 tests
This is the main PHP file of "Robots.txt Editor" version 1.1.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
24 characters long description:
Robots.txt for WordPress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected766 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 199 | 305 | 624 |
JSON | 3 | 1 | 0 | 72 |
Markdown | 1 | 53 | 0 | 70 |
PHP code Passed 2 tests
Analyzing 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.33 |
Average class complexity | 8.44 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 59 | |
▷ Static methods | 5 | 8.47% |
▷ Public methods | 57 | 96.61% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 3.39% |
Functions | 4 | |
▷ Named functions | 1 | 25.00% |
▷ Anonymous functions | 3 | 75.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 31.45KB | 14.75KB | ▼ 53.10% |