Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼11.40ms] Passed 4 tests
An overview of server-side resources used by Simple JWT Login MailPoet- Login users from newsletter
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.01 | 40.14 ▲0.30 |
Dashboard /wp-admin | 3.36 ▼0.03 | 49.49 ▼14.05 |
Posts /wp-admin/edit.php | 3.41 ▲0.01 | 46.31 ▼2.35 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.01 | 89.79 ▼29.50 |
Media Library /wp-admin/upload.php | 3.28 ▲0.01 | 40.97 ▲2.38 |
MailPoet Integration /wp-admin/admin.php?page=simple_jwt_login_mailpoet | 3.25 | 33.32 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Simple JWT Login MailPoet- Login users from newsletter
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲45 | 14.72 ▲0.53 | 1.77 ▼0.07 | 43.26 ▲0.73 |
Dashboard /wp-admin | 2,194 ▲17 | 5.51 ▼0.18 | 102.00 ▲13.94 | 42.72 ▼1.31 |
Posts /wp-admin/edit.php | 2,099 ▼1 | 2.10 ▲0.08 | 35.80 ▼0.57 | 40.13 ▲4.87 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.26 ▲0.35 | 644.36 ▼70.32 | 50.01 ▼1.41 |
Media Library /wp-admin/upload.php | 1,399 ▼1 | 4.23 ▲0.01 | 104.09 ▼12.96 | 47.32 ▼1.77 |
MailPoet Integration /wp-admin/admin.php?page=simple_jwt_login_mailpoet | 754 | 2.00 | 25.22 | 24.18 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- 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
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-jwt-login-mailpoet/simple-jwt-login-mailpoet.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/simple-jwt-login-mailpoet/mailpoet.php:8
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: mailpoet, jwt, api, rest, generate jwt...
simple-jwt-login-mailpoet/simple-jwt-login-mailpoet.php Passed 13 tests
The entry point to "Simple JWT Login MailPoet- Login users from newsletter" version 0.1.1 is a PHP file that has certain tags in its header comment area
74 characters long description:
Simple-JWT-Login MailPoet Add-on integrates MailPoet with Simple-Jwt-Login
Code Analysis Passed 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 plugin424 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 43 | 12 | 311 |
JavaScript | 1 | 12 | 15 | 65 |
CSS | 1 | 3 | 0 | 48 |
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.35 |
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 | 6 | |
▷ Named functions | 6 | 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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected