Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.70MB] [CPU: ▼18.01ms] Passed 4 tests
An overview of server-side resources used by Advance mailchimp for WPLMS
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.10 ▲2.28 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.79 ▼1.76 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 42.73 ▼4.58 |
Add New Post /wp-admin/post-new.php | 3.09 ▼2.79 | 36.81 ▼67.96 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.75 ▲2.81 |
Server storage [IO: ▲0.15MB] [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 |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Advance mailchimp for WPLMS: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.10 ▼0.26 | 1.77 ▲0.05 | 42.23 ▲0.45 |
Dashboard /wp-admin | 2,198 ▲17 | 5.62 ▼0.00 | 86.95 ▼16.63 | 37.25 ▼7.04 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 1.99 ▼0.05 | 36.29 ▼6.69 | 30.15 ▼6.12 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.34 ▲0.23 | 654.23 ▲30.13 | 50.85 ▲1.82 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.25 ▲0.04 | 97.11 ▲0.15 | 40.92 ▼1.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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
- 1× 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/advance-mailchimp-for-wplms/advance-mailchimp-for-WPLMS.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 80% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (MailChimp options screen.), #2 (MailChimp list option for course options screen.)
advance-mailchimp-for-wplms/advance-mailchimp-for-WPLMS.php 62% from 13 tests
The main PHP script in "Advance mailchimp for WPLMS" version 1.0 is automatically included on every request by WordPress
The following require your attention:
- Domain Path: Use only dashes and lowercase characters for the domain path ("languages")
- Main file name: The principal plugin file should be the same as the plugin slug ("advance-mailchimp-for-wplms.php" instead of "advance-mailchimp-for-WPLMS.php")
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Description: The description should be shorter than 140 characters (currently 145 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected670 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 156 | 185 | 594 |
Markdown | 1 | 42 | 0 | 76 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 40.50 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 4.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 1 | 4.55% |
▷ Public methods | 21 | 95.45% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.55% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.11MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 103.11KB | 45.32KB | ▼ 56.05% |
screenshot-2.png | 10.01KB | 6.43KB | ▼ 35.80% |