Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/buddypress-to-aweber-integration/classes/class-list-options.php+80
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.96MB] [CPU: ▼60.88ms] Passed 4 tests
A check of server-side resources used by Buddypress to Aweber
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 5.52 ▼32.91 |
Dashboard /wp-admin | 2.05 ▼1.26 | 5.65 ▼54.28 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 7.17 ▼46.06 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 7.93 ▼110.27 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 8.71 ▼28.28 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Buddypress to Aweber
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲70 | 14.65 ▲0.26 | 2.02 ▼0.64 | 88.85 ▼106.44 |
Dashboard /wp-admin | 2,207 ▲9 | 5.77 ▼0.21 | 162.85 ▼99.40 | 108.89 ▲1.28 |
Posts /wp-admin/edit.php | 2,108 ▲38 | 2.03 ▼0.05 | 88.52 ▲3.98 | 179.96 ▲54.62 |
Add New Post /wp-admin/post-new.php | 1,452 ▲15 | 22.73 ▼0.02 | 924.26 ▼50.44 | 198.94 ▲108.27 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.16 ▲0.05 | 225.42 ▲44.88 | 411.07 ▲276.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/buddypress-to-aweber-integration/classes/class-list-options.php+80
Trying to access array offset on value of type bool
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/buddypress-to-aweber-integration/views/public.php
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'AWeberResponse' not found in wp-content/plugins/buddypress-to-aweber-integration/includes/aweber_api/aweber_entry.php:3
- > PHP Fatal error
Uncaught Error: Class 'AWeberResponse' not found in wp-content/plugins/buddypress-to-aweber-integration/includes/aweber_api/aweber_collection.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/buddypress-to-aweber-integration/views/adminview/clear.php:2
- > PHP Fatal error
Uncaught Error: Class 'AWeberAPIBase' not found in wp-content/plugins/buddypress-to-aweber-integration/includes/aweber_api/aweber_response.php:14
- > PHP Fatal error
Uncaught Error: Class 'AdminFunctions' not found in wp-content/plugins/buddypress-to-aweber-integration/views/admin.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/buddypress-to-aweber-integration/views/adminview/fields.php:2
- > PHP Fatal error
Uncaught Error: Interface 'AWeberOAuthAdapter' not found in wp-content/plugins/buddypress-to-aweber-integration/includes/aweber_api/oauth_application.php:57
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/buddypress-to-aweber-integration/views/adminview/options.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
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
2 plugin tags: aweber, buddypress
buddypress-to-aweber-integration/buddypress-to-aweber.php 85% from 13 tests
Analyzing the main PHP file in "Buddypress to Aweber" version 1.0.1
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("buddypress-to-aweber-integration.php" instead of "buddypress-to-aweber.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected2,200 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 576 | 1,483 | 1,753 |
JavaScript | 5 | 125 | 402 | 378 |
CSS | 1 | 13 | 3 | 58 |
JSON | 2 | 0 | 0 | 10 |
Markdown | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 8.04 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 2.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 24 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 172 | |
▷ Static methods | 10 | 5.81% |
▷ Public methods | 152 | 88.37% |
▷ Protected methods | 18 | 10.47% |
▷ Private methods | 2 | 1.16% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin