Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- The plugin did not install without errors
- > Notice in wp-content/plugins/read-more-login/src/ReadMoreLoginPlugin.php+119
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.61MB] [CPU: ▲0.88ms] Passed 4 tests
A check of server-side resources used by Read More Login
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.92 ▲0.46 | 47.99 ▲7.93 |
Dashboard /wp-admin | 3.98 ▲0.67 | 62.29 ▲6.07 |
Posts /wp-admin/edit.php | 4.00 ▲0.64 | 57.99 ▲4.49 |
Add New Post /wp-admin/post-new.php | 6.56 ▲0.67 | 94.76 ▼14.95 |
Media Library /wp-admin/upload.php | 3.90 ▲0.67 | 45.09 ▲8.56 |
Statistics /wp-admin/admin.php?page=rml-admin-statistics | 4.00 | 40.49 |
Help /wp-admin/admin.php?page=rml-admin-help | 4.42 | 42.61 |
Settings /wp-admin/admin.php?page=rml-admin-menu | 5.66 | 55.16 |
Status /wp-admin/admin.php?page=rml-admin-registration-status | 4.00 | 38.07 |
Server storage [IO: ▲0.92MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 166 new files
Database: 2 new tables, 16 new options
New tables |
---|
wp_ari_read-more-login_statistics |
wp_ari_read-more-login_registration |
New WordPress options |
---|
widget_recent-posts |
ari_read-more-login_linking_option |
ari_read-more-login_version |
ari_read-more-login_advanced_options |
theysaidso_admin_options |
ari_read-more-login_access_option |
ari_read-more-login_wizard_options |
ari_read-more-login_form_options |
widget_theysaidso_widget |
ari_read-more-login_email_options |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Read More Login
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,910 ▲149 | 14.35 ▲0.02 | 1.90 ▲0.07 | 45.43 ▲1.91 |
Dashboard /wp-admin | 2,304 ▲140 | 5.64 ▲0.03 | 84.63 ▼17.32 | 41.74 ▼5.65 |
Posts /wp-admin/edit.php | 2,207 ▲104 | 2.01 ▲0.04 | 39.73 ▲1.92 | 33.83 ▼2.17 |
Add New Post /wp-admin/post-new.php | 1,554 ▲26 | 23.43 ▲0.05 | 743.53 ▲76.63 | 58.88 ▲4.43 |
Media Library /wp-admin/upload.php | 1,509 ▲112 | 4.17 ▼0.01 | 98.78 ▼6.89 | 45.49 ▼0.96 |
Statistics /wp-admin/admin.php?page=rml-admin-statistics | 900 | 2.00 | 24.59 | 29.58 |
Help /wp-admin/admin.php?page=rml-admin-help | 1,024 | 2.19 | 26.18 | 28.55 |
Settings /wp-admin/admin.php?page=rml-admin-menu | 1,365 | 2.09 | 26.49 | 42.59 |
Status /wp-admin/admin.php?page=rml-admin-registration-status | 917 | 2.03 | 25.00 | 28.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
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
Good news, no errors were detected
SRP 50% from 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
The following issues need your attention
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_PluginFramework\\Views\\StdView' not found in wp-content/plugins/read-more-login/vendor/centralplugin/wp-plugin-framework/src/WP_PluginFramework/Views/AdminStdView.php:27
- > PHP Fatal error
Uncaught Error: Class 'WP_PluginFramework\\HtmlComponents\\HtmlBaseComponent' not found in wp-content/plugins/read-more-login/vendor/centralplugin/wp-plugin-framework/src/WP_PluginFramework/HtmlComponents/InputComponent.php:31
- > PHP Fatal error
Uncaught Error: Class 'WP_PluginFramework\\Views\\AdminPanelStdView' not found in wp-content/plugins/read-more-login/views/AdminPanelView.php:32
- > PHP Fatal error
Uncaught Error: Class 'WP_PluginFramework\\HtmlComponents\\HtmlBaseComponent' not found in wp-content/plugins/read-more-login/vendor/centralplugin/wp-plugin-framework/src/WP_PluginFramework/HtmlComponents/Text.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% 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
5 plugin tags: access, shortcode, register, login, read more
read-more-login/read-more-login.php 92% from 13 tests
"Read More Login" version 2.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 193 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin15,328 lines of code in 158 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 149 | 2,890 | 3,649 | 13,798 |
PO File | 1 | 305 | 448 | 972 |
JavaScript | 2 | 32 | 0 | 244 |
CSS | 4 | 36 | 0 | 215 |
JSON | 1 | 0 | 0 | 98 |
Markdown | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 11.03 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 133.00 |
Average method complexity | 3.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.00 |
Code structure | ||
---|---|---|
Namespaces | 13 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 144 | |
▷ Abstract classes | 7 | 4.86% |
▷ Concrete classes | 137 | 95.14% |
▷ Final classes | 0 | 0.00% |
Methods | 690 | |
▷ Static methods | 102 | 14.78% |
▷ Public methods | 567 | 82.17% |
▷ Protected methods | 103 | 14.93% |
▷ Private methods | 20 | 2.90% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 278 | |
▷ Global constants | 1 | 0.36% |
▷ Class constants | 277 | 99.64% |
▷ Public constants | 277 | 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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/shortcode_example.png | 19.78KB | 9.18KB | ▼ 53.59% |
img/icon-128x128.png | 3.10KB | 1.98KB | ▼ 35.94% |