Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼2.90ms] Passed 4 tests
An overview of server-side resources used by MailLister
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 39.57 ▼2.73 |
Dashboard /wp-admin | 3.42 ▲0.11 | 45.61 ▼3.76 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 50.17 ▲2.12 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 90.85 ▼7.22 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 42.39 ▲11.18 |
Mail Lister /wp-admin/admin.php?page=email-lister-page | 3.31 | 32.26 |
Send Mails /wp-admin/admin.php?page=email-lister-page-send | 3.31 | 33.94 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for MailLister
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,907 ▲172 | 13.71 ▼0.67 | 1.89 ▲0.15 | 45.64 ▲2.78 |
Dashboard /wp-admin | 2,258 ▲66 | 5.85 ▲0.89 | 99.42 ▼24.36 | 71.36 ▲20.60 |
Posts /wp-admin/edit.php | 2,156 ▲64 | 2.01 ▲0.04 | 39.25 ▲0.89 | 34.41 ▲0.49 |
Add New Post /wp-admin/post-new.php | 1,566 ▲52 | 22.66 ▲5.13 | 653.25 ▼19.42 | 29.40 ▼25.51 |
Media Library /wp-admin/upload.php | 1,446 ▲55 | 4.19 ▼0.01 | 97.77 ▼6.36 | 78.30 ▲33.30 |
Mail Lister /wp-admin/admin.php?page=email-lister-page | 1,163 | 2.07 | 25.85 | 76.86 |
Send Mails /wp-admin/admin.php?page=email-lister-page-send | 880 | 2.05 | 24.27 | 37.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=email-lister-page-send
- > Network (severe)
wp-content/plugins/maillister//listerD.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=email-lister-page-send
- > Network (severe)
wp-content/plugins/maillister//jquery.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=email-lister-page
- > Javascript (severe) in unknown
/wp-content/plugins/maillister/js/adminEmails.js?ver=6.3.1 157:61 Uncaught TypeError: Cannot read properties of null (reading 'split')
- > GET request to /wp-admin/admin.php?page=email-lister-page-send
- > Javascript (severe) in unknown
/wp-content/plugins/maillister/js/ad.js?ver=6.3.1 5:51 Uncaught TypeError: Cannot read properties of null (reading 'value')
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: mail, subscriber-list, email, newsletter, email-list...
maillister/MailLister.php 85% from 13 tests
The principal PHP file in "MailLister" v. 1.0.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("maillister.php" instead of "MailLister.php")
- Text Domain: The text domain name should consist of only dashes and lowercase characters
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 detected1,475 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 53 | 6 | 664 |
PHP | 1 | 193 | 12 | 457 |
JavaScript | 4 | 123 | 24 | 337 |
SVG | 2 | 0 | 0 | 17 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 3.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
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 |
MapleWP.png | 4.17KB | 2.32KB | ▼ 44.48% |