Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- The plugin cannot be installed
- > Parse error in wp-content/plugins/wp-nice-login/nice-login.php+619
syntax error, unexpected end of file
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.35ms] Passed 4 tests
A check of server-side resources used by WordPress Nice Login
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.19 ▼4.80 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.99 ▼2.82 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.84 ▼1.65 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.43 ▼8.14 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.05 ▲3.68 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for WordPress Nice Login
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.21 ▼1.53 | 1.79 ▼0.01 | 45.00 ▲0.12 |
Dashboard /wp-admin | 2,206 ▲18 | 5.91 ▲1.02 | 111.23 ▼5.88 | 47.51 ▲4.29 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.00 ▼0.02 | 35.11 ▼0.74 | 33.68 ▼0.34 |
Add New Post /wp-admin/post-new.php | 1,514 ▼0 | 17.59 ▲0.08 | 692.37 ▼4.47 | 48.15 ▼10.55 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.22 ▲0.02 | 94.87 ▼10.69 | 43.39 ▼0.26 |
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
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/wp-nice-login/nice-login.php on line 619
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: nice login, ajax, ajax login, login popup, redirect...
wp-nice-login/nice-login.php 77% from 13 tests
The entry point to "WordPress Nice Login" version 1.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Requires at least: Required version does not match the one declared in readme.txt ("3.7" instead of "4.0")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-nice-login.php" instead of "nice-login.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected1,119 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 128 | 40 | 450 |
PO File | 2 | 120 | 168 | 277 |
CSS | 1 | 4 | 0 | 221 |
JavaScript | 1 | 46 | 0 | 171 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 13 | 92.86% |
▷ Anonymous functions | 1 | 7.14% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/x.png | 1.95KB | 1.63KB | ▼ 16.84% |