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.01MB] [CPU: ▼7.76ms] Passed 4 tests
Server-side resources used by Simple Membership Postie Integration
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.97 ▼1.54 |
Dashboard /wp-admin | 3.32 ▲0.01 | 51.61 ▼1.16 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.62 ▼0.38 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 87.26 ▼27.97 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.60 ▲1.28 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Simple Membership Postie Integration
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.74 ▼0.01 | 2.20 ▲0.50 | 44.58 ▼0.49 |
Dashboard /wp-admin | 2,206 ▲21 | 5.89 ▲0.86 | 106.02 ▲0.63 | 42.44 ▼5.33 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.00 ▼0.05 | 36.49 ▼3.91 | 34.84 ▼0.79 |
Add New Post /wp-admin/post-new.php | 1,520 ▼3 | 23.20 ▼0.11 | 639.25 ▼120.71 | 58.14 ▼7.04 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.19 ▼0.02 | 112.48 ▼2.60 | 49.86 ▲3.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'SwpmUtils' not found in wp-content/plugins/swpm-postie/views/settings.php:12
- > PHP Notice
Undefined variable: enable_postie in wp-content/plugins/swpm-postie/views/settings.php on line 7
- > 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 issues were found
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
5 plugin tags: member, membership, integration, members, postie
swpm-postie/swpm-postie.php Passed 13 tests
This is the main PHP file of "Simple Membership Postie Integration" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
63 characters long description:
Adds Postie plugin integration to the Simple Membership plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin74 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 11 | 12 | 74 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
No PNG images were found in this plugin