Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲1.19MB] [CPU: ▲4.20ms] Passed 4 tests
An overview of server-side resources used by MelaPress Login Security
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.63 ▲1.17 | 47.86 ▲1.86 |
Dashboard /wp-admin | 4.55 ▲1.25 | 57.08 ▲5.31 |
Posts /wp-admin/edit.php | 4.60 ▲1.24 | 60.20 ▲12.95 |
Add New Post /wp-admin/post-new.php | 7.07 ▲1.18 | 106.21 ▼0.62 |
Media Library /wp-admin/upload.php | 4.41 ▲1.18 | 45.03 ▲10.25 |
Help & Contact Us /wp-admin/admin.php?page=ppm-help | 4.40 | 42.20 |
Login Security Policies /wp-admin/admin.php?page=ppm_wp_settings | 4.46 | 63.26 |
Forms & Placement /wp-admin/admin.php?page=ppm-forms | 4.38 | 39.88 |
Premium Features ➤ /wp-admin/admin.php?page=ppm-upgrade | 4.39 | 37.12 |
Settings /wp-admin/admin.php?page=ppm-settings | 4.45 | 44.39 |
Hide login page /wp-admin/admin.php?page=ppm-hide-login | 4.38 | 43.29 |
Server storage [IO: ▲0.67MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 88 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
MelaPress Login Security: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,899 ▲113 | 13.29 ▼1.02 | 1.63 ▼0.27 | 38.95 ▼5.62 |
Dashboard /wp-admin | 2,302 ▲99 | 5.88 ▲0.97 | 102.16 ▼8.41 | 45.63 ▲0.07 |
Posts /wp-admin/edit.php | 2,283 ▲183 | 2.02 ▲0.00 | 40.67 ▲0.51 | 36.82 ▲2.45 |
Add New Post /wp-admin/post-new.php | 1,607 ▲81 | 23.49 ▲6.06 | 626.64 ▼58.26 | 62.98 ▲6.75 |
Media Library /wp-admin/upload.php | 1,487 ▲90 | 4.31 ▲0.12 | 96.84 ▼7.45 | 47.33 ▲1.40 |
Help & Contact Us /wp-admin/admin.php?page=ppm-help | 1,497 | 9.20 | 261.32 | 68.08 |
Login Security Policies /wp-admin/admin.php?page=ppm_wp_settings | 1,408 | 2.70 | 56.44 | 53.73 |
Forms & Placement /wp-admin/admin.php?page=ppm-forms | 1,057 | 2.35 | 45.92 | 35.36 |
Premium Features ➤ /wp-admin/admin.php?page=ppm-upgrade | 1,280 | 2.02 | 25.57 | 46.35 |
Settings /wp-admin/admin.php?page=ppm-settings | 1,374 | 2.57 | 61.86 | 71.85 |
Hide login page /wp-admin/admin.php?page=ppm-hide-login | 1,060 | 2.26 | 32.12 | 34.20 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 19× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to a member function get_names() on null in wp-content/plugins/melapress-login-security/admin/templates/admin-form.php:11
- > PHP Fatal error
Uncaught Error: Class 'MLS_Login_Page_Control' not found in wp-content/plugins/melapress-login-security/admin/templates/views/settings-hide-login.php:15
- > PHP Fatal error
Uncaught Error: Interface 'PPMWP\\Crons\\CronInterface' not found in wp-content/plugins/melapress-login-security/app/crons/class-summaryemail.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/melapress-login-security/vendor/deliciousbrains/wp-background-processing/wp-background-processing.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/melapress-login-security/admin/templates/admin-default.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/melapress-login-security/admin/templates/help/sidebar.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/melapress-login-security/admin/templates/help/sidebar.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/melapress-login-security/melapress-login-security.php:62
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/melapress-login-security/admin/templates/views/upgrade-sidebar.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_Async_Request' not found in wp-content/plugins/melapress-login-security/vendor/deliciousbrains/wp-background-processing/classes/wp-background-process.php:14
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ppm-hide-login
- > Network (severe)
data:image/svg+xml;base64,data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMzAwIiBoZWlnaHQ9IjMwMCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgMzAwIDMwMCI+CiAgICA8aW1hZ2Ugd2lkdGg9IjMwMCIgaGVpZ2h0PSIzMDAiIHhsaW5rOmhyZWY9ImRhdGE6aW1hZ2UvcG5nO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vSWdCelhNTTlNWHZ3S2FSYmh1M0FwQ3lDQU9nNkFDT3VZWG00Z3ozQVNXQkhoWk03Wng4ckFQb0N3Qnlyc0JTdTc0ZWw3MGRld1MxQ21ZQlJBUFFSZ0RrdzdJclpnMXNHcjZ5OW9nQU1BcUR2QUVUUTZHc01ubUwyREtPbm5SOEg3c3lJQ0FYQUVBQVlpUlBjRmZqcW8xdUYyYldIZFl1TVVRQU1DWUE1cm1GdHBKc1BBU2VBOWZPNEJnRXdWQURDTlhoZzZESEJtcGhDK3ZIckRvSm1BUm4rc1V4VW5mSFk5cHBFWFY0L2VmdFVyRUdjQVU2bmdoK0d0RGVDWnQ4OE9BQkdZZ1ZmWjNEWGNBVzRrRks2MnF4bysvRzJ3UUxRRC9HMzMwc0IwTDRPV3UyQkFHaFYvTzIvWEFDMHI0TldlL0FQbUczOXZVRk9EMlFBQUFBQVNVVk9SSzVDWUlJPSIvPgogIDwvc3ZnPg== - Failed to load resource: net::ERR_INVALID_URL
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: A description for screenshot #7 is missing in melapress-login-security/assets to your readme.txt
- Contributors: Contributors not specified
melapress-login-security/melapress-login-security.php 77% from 13 tests
The main PHP file in "MelaPress Login Security" ver. 1.2.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Requires PHP: Required version must match the one declared in readme.txt ("7.2" instead of "7.0")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 170 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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected9,080 lines of code in 69 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 56 | 1,585 | 3,347 | 6,899 |
JavaScript | 6 | 252 | 292 | 1,390 |
CSS | 4 | 62 | 20 | 580 |
Bourne Shell | 1 | 23 | 11 | 147 |
JSON | 1 | 0 | 0 | 50 |
make | 1 | 4 | 0 | 14 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 27.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 127.00 |
Average method complexity | 4.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 78.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 34 | |
▷ Abstract classes | 2 | 5.88% |
▷ Concrete classes | 32 | 94.12% |
▷ Final classes | 0 | 0.00% |
Methods | 314 | |
▷ Static methods | 61 | 19.43% |
▷ Public methods | 264 | 84.08% |
▷ Protected methods | 30 | 9.55% |
▷ Private methods | 20 | 6.37% |
Functions | 12 | |
▷ Named functions | 5 | 41.67% |
▷ Anonymous functions | 7 | 58.33% |
Constants | 20 | |
▷ Global constants | 17 | 85.00% |
▷ Class constants | 3 | 15.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/wpassword-small.png | 0.76KB | 0.92KB | 0.00% |
assets/images/password-policy-manager.png | 4.01KB | 1.90KB | ▼ 52.69% |
assets/images/wp-white-security.png | 8.80KB | 4.31KB | ▼ 51.05% |
assets/images/mls-email-header.png | 14.68KB | 5.96KB | ▼ 59.36% |