Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- The plugin did not install without errors
- > Error in wp-content/plugins/reply-by-email/hooks/class-settings-hooks.php+8
Uncaught Error: Call to a member function load_language() on null in wp-content/plugins/reply-by-email/hooks/class-settings-hooks.php:8
Stack trace:
#0 wp-content/plugins/reply-by-email/library/implicit-hooks/class-implicit-hooks.php(306): ReplyByEmailSettingsHooks->migrate__register__activate()
#1 wp-content/plugins/reply-by-email/library/implicit-hooks/class-implicit-hooks.php(311): ImplicitHooks_v0_1_1b::plugin_state_action()
#2 wp-includes/class-wp-hook.php(310): ImplicitHooks_v0_1_1b::activation()
#3 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#4 wp-includes/plugin.php(517): WP_Hook->do_action()
#5 wp-admin/includes/plugin.php(693): do_action()
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.23ms] Passed 4 tests
This is a short check of server-side resources used by Reply By Email
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.65 ▲1.34 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.77 ▲0.43 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.37 ▲3.39 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.22 ▼6.78 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.75 ▲0.09 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Reply By Email
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.51 ▼0.87 | 4.65 ▲2.86 | 53.38 ▲9.83 |
Dashboard /wp-admin | 2,209 ▲18 | 4.86 ▼0.99 | 99.24 ▼6.84 | 38.90 ▼2.85 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 1.99 ▼0.02 | 39.42 ▲2.86 | 35.32 ▼0.73 |
Add New Post /wp-admin/post-new.php | 1,514 ▼0 | 23.56 ▲5.82 | 647.29 ▼56.32 | 73.17 ▲4.44 |
Media Library /wp-admin/upload.php | 1,382 ▼3 | 4.16 ▼0.03 | 98.76 ▼20.54 | 41.85 ▼3.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
Congratulations! This plugin passed the SRP 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 Passed 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
6 plugin tags: reply, subscribe, replies, discussion, email...
reply-by-email/reply-by-email.php Passed 13 tests
"Reply By Email" version 0.2.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
39 characters long description:
Reply to articles and comments by email
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 plugin1,569 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 347 | 274 | 1,407 |
PO File | 1 | 48 | 53 | 162 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 11.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 2 | 11.11% |
▷ Concrete classes | 16 | 88.89% |
▷ Final classes | 0 | 0.00% |
Methods | 121 | |
▷ Static methods | 8 | 6.61% |
▷ Public methods | 94 | 77.69% |
▷ Protected methods | 27 | 22.31% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
design/images/smallicon.png | 0.62KB | 0.55KB | ▼ 10.32% |