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.08MB] [CPU: ▼3.54ms] Passed 4 tests
Analyzing server-side resources used by RA - Registration Mail Address Domain Limiter
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 36.17 ▼1.76 |
Dashboard /wp-admin | 3.38 ▲0.08 | 45.68 ▼2.20 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 44.02 ▼0.55 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 87.61 ▼9.54 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.19 ▼0.64 |
RMADL /wp-admin/options-general.php?page=rmadl | 3.25 | 26.05 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for RA - Registration Mail Address Domain Limiter
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.21 ▼1.55 | 1.60 ▼0.21 | 37.53 ▼7.12 |
Dashboard /wp-admin | 2,209 ▲27 | 4.84 ▼1.06 | 112.68 ▼2.05 | 42.23 ▼2.17 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.01 ▼0.11 | 33.64 ▼3.61 | 32.18 ▼2.49 |
Add New Post /wp-admin/post-new.php | 1,524 ▼4 | 22.94 ▲4.92 | 673.54 ▲50.88 | 55.63 ▼1.17 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.21 ▲0.02 | 99.35 ▼2.62 | 40.82 ▼3.94 |
RMADL /wp-admin/options-general.php?page=rmadl | 894 | 2.03 | 29.80 | 31.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=rmadl
- > Deprecated in wp-content/plugins/ra-registration-mail-address-domain-limiter/class/rmadl_settings_page.php+114
Non-static method RMADL_Settings_Page_HTML::output_settings_html() should not be called statically
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/ra-registration-mail-address-domain-limiter/ra-mail-domain-limiter.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: userregister, japanese, email, rains
ra-registration-mail-address-domain-limiter/ra-mail-domain-limiter.php 77% from 13 tests
Analyzing the main PHP file in "RA - Registration Mail Address Domain Limiter" version 1.2.8
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 165 characters long)
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("ra-registration-mail-address-domain-limiter.php" instead of "ra-mail-domain-limiter.php")
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
No dangerous file extensions were detected419 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 146 | 87 | 299 |
PO File | 1 | 28 | 27 | 72 |
CSS | 1 | 4 | 0 | 48 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 15.40 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 4.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 8 | 36.36% |
▷ Public methods | 19 | 86.36% |
▷ Protected methods | 3 | 13.64% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin