Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼1.47ms] Passed 4 tests
Server-side resources used by WP Subscribe
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 36.77 ▼7.18 |
Dashboard /wp-admin | 3.47 ▲0.17 | 49.40 ▲4.33 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 53.92 ▲2.74 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 95.26 ▼3.16 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 37.20 ▲1.73 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 36 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_wp_subscribe |
wp_subscribe_activated |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
wp_subscribe_notice_views |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Subscribe
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲52 | 14.40 ▲0.05 | 2.05 ▼0.28 | 44.23 ▼6.75 |
Dashboard /wp-admin | 2,212 ▲24 | 5.88 ▲1.00 | 110.19 ▲4.42 | 47.82 ▲2.66 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.07 ▲0.03 | 40.88 ▲0.99 | 35.31 ▼1.62 |
Add New Post /wp-admin/post-new.php | 1,516 ▼3 | 23.53 ▲0.52 | 668.84 ▲33.03 | 55.06 ▼7.48 |
Media Library /wp-admin/upload.php | 1,390 ▼1 | 4.22 ▼0.08 | 96.05 ▼5.30 | 40.08 ▼4.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 9 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- wp_subscribe_notice_views
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_wp_subscribe
- wp_subscribe_activated
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
Even though everything seems fine, this is not 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
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'AWeberResponse' not found in wp-content/plugins/wp-subscribe/includes/subscription/libs/aweber_api/aweber_collection.php:5
- > PHP Fatal error
Uncaught Error: Class 'AWeberResponse' not found in wp-content/plugins/wp-subscribe/includes/subscription/libs/aweber_api/aweber_entry.php:5
- > PHP Fatal error
Uncaught Error: Class 'AWeberAPIBase' not found in wp-content/plugins/wp-subscribe/includes/subscription/libs/aweber_api/aweber_response.php:17
- > PHP Fatal error
Uncaught Error: Interface 'AWeberOAuthAdapter' not found in wp-content/plugins/wp-subscribe/includes/subscription/libs/aweber_api/oauth_application.php:62
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: subscription box, feedburner, subscribe, aweber, subscription...
wp-subscribe/wp-subscribe.php Passed 13 tests
This is the main PHP file of "WP Subscribe" version 1.2.16, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
106 characters long description:
WP Subscribe is a simple but powerful subscription plugin which supports MailChimp, Aweber and Feedburner.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected3,517 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 665 | 1,313 | 2,213 |
JavaScript | 6 | 224 | 76 | 715 |
JSON | 1 | 1 | 0 | 331 |
PO File | 1 | 86 | 87 | 197 |
CSS | 2 | 2 | 11 | 61 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 8.03 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 2.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 1 | 3.85% |
▷ Concrete classes | 25 | 96.15% |
▷ Final classes | 1 | 4.00% |
Methods | 199 | |
▷ Static methods | 3 | 1.51% |
▷ Public methods | 166 | 83.42% |
▷ Protected methods | 24 | 12.06% |
▷ Private methods | 9 | 4.52% |
Functions | 15 | |
▷ Named functions | 15 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin