Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.30ms] Passed 4 tests
An overview of server-side resources used by Login rebuilder
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 39.74 ▼1.14 |
Dashboard /wp-admin | 3.34 ▼0.01 | 51.28 ▼14.69 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.84 ▲3.36 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 88.69 ▼7.17 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.82 ▲1.82 |
XML-RPC /wp-admin/options-general.php?page=login-rebuilder-xmlrpc-properties | 3.32 | 33.06 |
Login rebuilder /wp-admin/options-general.php?page=login-rebuilder-properties | 3.65 | 40.36 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
login-rebuilder-db-version |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Login rebuilder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,875 ▲113 | 14.37 ▲0.26 | 2.14 ▲0.33 | 43.55 ▼0.89 |
Dashboard /wp-admin | 2,255 ▲78 | 5.65 ▼0.01 | 86.85 ▼2.64 | 41.15 ▲1.10 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 1.97 ▲0.00 | 35.62 ▼0.02 | 32.97 ▼4.41 |
Add New Post /wp-admin/post-new.php | 1,532 ▲4 | 23.58 ▲0.79 | 636.51 ▲6.28 | 48.83 ▼1.17 |
Media Library /wp-admin/upload.php | 1,411 ▲17 | 4.22 ▲0.01 | 101.63 ▲3.20 | 40.16 ▼0.20 |
XML-RPC /wp-admin/options-general.php?page=login-rebuilder-xmlrpc-properties | 1,547 | 1.68 | 25.95 | 25.38 |
Login rebuilder /wp-admin/options-general.php?page=login-rebuilder-properties | 1,377 | 8.55 | 88.84 | 38.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/login-rebuilder/uninstall.php+40
Constant LOGIN_REBUILDER_PROPERTIES already defined
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- 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
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/login-rebuilder/login-rebuilder.php:110
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (This plug-in menu.), #2 (This plug-in settings.), #3 (Widget on the dashboard.), #4 (This plug-in XML-RPC settings.), #5 (Other settings.), #6 (Lock file settings.), #7 (Widget to display currently logged in users.)
login-rebuilder/login-rebuilder.php 92% from 13 tests
"Login rebuilder" version 2.8.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 187 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin3,069 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 252 | 1,308 | 2,779 |
PO File | 1 | 150 | 203 | 290 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
The following items need your attention
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 102)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 590.00 |
▷ Minimum class complexity | 590.00 |
▷ Maximum class complexity | 590.00 |
Average method complexity | 6.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 102.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 111 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 48 | 43.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 63 | 56.76% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 46 | |
▷ Global constants | 8 | 17.39% |
▷ Class constants | 38 | 82.61% |
▷ Public constants | 38 | 100.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
7 compressed PNG files occupy 0.17MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 20.15KB | 18.63KB | ▼ 7.51% |
screenshot-2.png | 38.57KB | 36.29KB | ▼ 5.91% |
screenshot-5.png | 6.35KB | 6.05KB | ▼ 4.75% |
screenshot-7.png | 9.81KB | 4.54KB | ▼ 53.79% |
screenshot-4.png | 33.71KB | 32.69KB | ▼ 3.02% |