Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.34ms] Passed 4 tests
An overview of server-side resources used by Mailartery
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.18 ▼6.94 |
Dashboard /wp-admin | 3.34 ▲0.04 | 46.69 ▼1.34 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 48.41 ▲0.39 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 97.35 ▼9.45 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 37.47 ▲0.92 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_mailartery_newsletters |
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Mailartery
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲61 | 13.16 ▼1.02 | 1.66 ▼0.24 | 42.40 ▼1.99 |
Dashboard /wp-admin | 2,225 ▲34 | 5.85 ▲0.95 | 97.71 ▼7.12 | 38.11 ▼6.09 |
Posts /wp-admin/edit.php | 2,102 ▲13 | 2.01 ▲0.02 | 37.60 ▲0.43 | 32.78 ▼0.74 |
Add New Post /wp-admin/post-new.php | 1,560 ▲27 | 18.08 ▼5.16 | 637.72 ▲10.88 | 72.94 ▲13.10 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 4.23 ▲0.03 | 98.51 ▼3.53 | 41.01 ▼3.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie tables detected upon uninstall: 1 table
- wp_mailartery_newsletters
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mailartery/mailartery.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Requires php: Invalid version format
mailartery/mailartery.php Passed 13 tests
The principal PHP file in "Mailartery" v. 0.1.0 is loaded by WordPress automatically on each request
106 characters long description:
WordPress newsletter plugin. Use this: [mailartery_newsletter] shortcode to display the subscription form.
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
There were no executable files found in this plugin360 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 28 | 22 | 185 |
JavaScript | 2 | 0 | 4 | 166 |
CSS | 3 | 1 | 0 | 9 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 10 | |
▷ Named functions | 10 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin