Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.09ms] Passed 4 tests
Server-side resources used by WordUP-Login
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 33.98 ▼10.17 |
Dashboard /wp-admin | 3.32 ▲0.02 | 51.11 ▼3.13 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.38 ▲4.83 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 80.55 ▼9.19 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.69 ▲2.13 |
Server storage [IO: ▲8.95MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by WordUP-Login
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲87 | 17.05 ▲2.42 | 1.59 ▼0.39 | 38.11 ▼5.86 |
Dashboard /wp-admin | 2,225 ▲37 | 4.86 ▼0.04 | 109.78 ▼5.62 | 38.40 ▼5.26 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.04 ▼0.01 | 39.19 ▲2.18 | 35.39 ▲1.39 |
Add New Post /wp-admin/post-new.php | 1,551 ▲32 | 22.81 ▼0.32 | 659.03 ▲7.72 | 74.60 ▼0.96 |
Media Library /wp-admin/upload.php | 1,404 ▲19 | 4.32 ▲0.08 | 97.72 ▲1.12 | 44.12 ▲0.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wordup-login/WordUP-Login.php:23
- > PHP Fatal error
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)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Screenshots: Please add an image for screenshot #1 ([https://github.com/JordyDutch/Luksoverse-picture-hosting/blob/main/Screen%20Shot%202022-10-06%20at%2016.26.16.png?raw=true This is how your login screen will look like.])
wordup-login/WordUP-Login.php 92% from 13 tests
The main PHP file in "WordUP-Login" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wordup-login.php" instead of "WordUP-Login.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected15,541 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 15,202 |
PHP | 1 | 219 | 43 | 291 |
JavaScript | 3 | 1 | 3 | 24 |
HTML | 2 | 3 | 20 | 21 |
Markdown | 1 | 2 | 0 | 2 |
CSS | 1 | 0 | 1 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.58MB with 0.22MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
frontend/public/lukso_login.png | 147.68KB | 92.01KB | ▼ 37.69% |
frontend/public/lukso_register.png | 149.67KB | 92.77KB | ▼ 38.02% |
frontend/public/Wordup Login 3.png | 148.14KB | 91.19KB | ▼ 38.44% |
frontend/public/lukso_disconnect.png | 148.66KB | 91.04KB | ▼ 38.76% |