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
Install script ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼178.31ms] Passed 4 tests
An overview of server-side resources used by Multipart robots.txt editor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.05 | 30.08 ▲8.63 |
Dashboard /wp-admin | 3.28 ▲0.21 | 34.18 ▼3.82 |
Posts /wp-admin/edit.php | 3.33 ▲0.22 | 31.87 ▲1.75 |
Add New Post /wp-admin/post-new.php | 5.58 ▲0.14 | 68.90 ▼716.53 |
Media Library /wp-admin/upload.php | 3.16 ▲0.16 | 28.81 ▲5.35 |
Multipart robots.txt /wp-admin/options-general.php?page=mp-robotstxt-page | 3.13 | 21.97 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Multipart robots.txt editor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,671 ▲44 | 16.00 ▼0.07 | 5.40 ▲0.10 | 74.54 ▼3.93 |
Dashboard /wp-admin | 2,938 ▲42 | 6.00 ▼0.16 | 115.27 ▼14.72 | 167.28 ▼6.94 |
Posts /wp-admin/edit.php | 2,745 ▲5 | 3.23 ▲0.20 | 62.83 ▼3.00 | 139.66 ▼5.92 |
Add New Post /wp-admin/post-new.php | 3,738 ▲34 | 18.41 ▼0.19 | 430.91 ▼21.25 | 160.27 ▼10.58 |
Media Library /wp-admin/upload.php | 1,754 ▲5 | 5.43 ▼0.15 | 142.66 ▲1.53 | 183.18 ▼5.72 |
Multipart robots.txt /wp-admin/options-general.php?page=mp-robotstxt-page | 1,238 | 2.40 | 56.60 | 128.09 |
Uninstaller [IO: ▲0.07MB] [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
- This plugin has failed uninstalling correctly, leaving 8 files (0.07MB) in the plugin directory
- (new file) admin/sanitize-callbacks.php
- (new file) admin/display-callbacks.php
- (new file) mp-robotstxt.php
- (new file) admin/voce-settings-api.php
- (new file) readme.txt
- (new file) includes/robotstxtparser.php
- (new file) assets/badbots.txt
- (new file) README.md
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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 fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > Break-in attempt detected
mprtxt_direct_access /wp-content/plugins/multipart-robotstxt-editor/mp-robotstxt.php
- > Break-in attempt detected
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
9 plugin tags: editor, robots, seo, spiders, robotstxt...
multipart-robotstxt-editor/mp-robotstxt.php 92% from 13 tests
Analyzing the main PHP file in "Multipart robots.txt editor" version 0.4.0
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("multipart-robotstxt-editor.php" instead of "mp-robotstxt.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin1,356 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 256 | 593 | 1,297 |
Markdown | 1 | 21 | 0 | 59 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 30.33 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 112.00 |
Average method complexity | 2.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 92 | |
▷ Static methods | 7 | 7.61% |
▷ Public methods | 46 | 50.00% |
▷ Protected methods | 23 | 25.00% |
▷ Private methods | 23 | 25.00% |
Functions | 17 | |
▷ Named functions | 14 | 82.35% |
▷ Anonymous functions | 3 | 17.65% |
Constants | 15 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 15 | 100.00% |
▷ Public constants | 15 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin