Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.29ms] Passed 4 tests
A check of server-side resources used by DAP to Autoresponders Email Syncing
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.85 ▼2.69 |
Dashboard /wp-admin | 3.33 ▼0.01 | 44.32 ▼12.86 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 44.75 ▼2.13 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 85.46 ▼11.46 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 32.86 ▼0.87 |
Server storage [IO: ▲1.94MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 142 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
DAP to Autoresponders Email Syncing: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲91 | 13.35 ▼1.24 | 1.72 ▲0.09 | 43.07 ▲0.51 |
Dashboard /wp-admin | 2,231 ▲40 | 4.89 ▼0.01 | 98.43 ▼7.93 | 71.35 ▲28.19 |
Posts /wp-admin/edit.php | 2,129 ▲43 | 2.09 ▲0.09 | 35.98 ▼3.19 | 33.00 ▲2.37 |
Add New Post /wp-admin/post-new.php | 1,563 ▲49 | 23.30 ▲5.79 | 720.97 ▲50.63 | 48.79 ▼3.96 |
Media Library /wp-admin/upload.php | 1,425 ▲34 | 4.27 ▲0.08 | 107.78 ▲8.83 | 44.97 ▲1.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
- 9× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/dap-to-autoresponders-daar/infusionsoft_src/xmlrpc-3.0/test/verify_compat.php
- > /wp-content/plugins/dap-to-autoresponders-daar/infusionsoft_src/xmlrpc-3.0/demo/client/client.php
- > /wp-content/plugins/dap-to-autoresponders-daar/infusionsoft_src/xmlrpc-3.0/debugger/action.php
- > /wp-content/plugins/dap-to-autoresponders-daar/infusionsoft_src/xmlrpc-3.0/debugger/index.php
- > /wp-content/plugins/dap-to-autoresponders-daar/infusionsoft_src/xmlrpc-3.0/demo/client/mail.php
- > /wp-content/plugins/dap-to-autoresponders-daar/infusionsoft_src/xmlrpc-3.0/demo/client/agesort.php
- > /wp-content/plugins/dap-to-autoresponders-daar/infusionsoft_src/phpinfo.php
- > /wp-content/plugins/dap-to-autoresponders-daar/ajax_set_up_aweber.php
- > /wp-content/plugins/dap-to-autoresponders-daar/infusionsoft_src/xmlrpc-3.0/debugger/controller.php
- 71× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Warning
include(xmlrpc.inc): failed to open stream: No such file or directory in wp-content/plugins/dap-to-autoresponders-daar/infusionsoft_src/xmlrpc-3.0/demo/client/comment.php on line 2
- > PHP Warning
include(): Failed opening 'xmlrpc.inc' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/dap-to-autoresponders-daar/infusionsoft_src/xmlrpc-3.0/demo/client/which.php on line 8
- > PHP Warning
include(): Failed opening 'xmlrpc.inc' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/dap-to-autoresponders-daar/infusionsoft_src/xmlrpc-3.0/demo/client/comment.php on line 2
- > PHP Warning
include(): Failed opening 'xmlrpc.inc' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/dap-to-autoresponders-daar/infusionsoft_src/xmlrpc-3.0/demo/client/introspect.php on line 8
- > PHP Notice
Undefined variable: xmlrpcInt in wp-content/plugins/dap-to-autoresponders-daar/infusionsoft_src/xmlrpc-3.0/demo/server/server.php on line 75
- > PHP Notice
Undefined variable: xmlrpcArray in wp-content/plugins/dap-to-autoresponders-daar/infusionsoft_src/xmlrpc-3.0/demo/server/discuss.php on line 60
- > PHP Warning
include(): Failed opening 'xmlrpc.inc' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/dap-to-autoresponders-daar/infusionsoft_src/xmlrpc-3.0/demo/client/mail.php on line 17
- > PHP Fatal error
Uncaught Error: Interface 'AWeberOAuthAdapter' not found in wp-content/plugins/dap-to-autoresponders-daar/aweber_api/oauth_application.php:56
- > PHP Warning
include(): Failed opening 'xmlrpc_wrappers.inc' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/dap-to-autoresponders-daar/infusionsoft_src/xmlrpc-3.0/demo/client/wrap.php on line 12
- > PHP Warning
require_once(PHPUnit/TestCase.php): failed to open stream: No such file or directory in wp-content/plugins/dap-to-autoresponders-daar/infusionsoft_src/xmlrpc-3.0/test/PHPUnit/TestDecorator.php on line 23
- > PHP Warning
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 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (12 tag instead of maximum 10)
dap-to-autoresponders-daar/init.php 92% from 13 tests
The entry point to "DAP to Autoresponders Email Syncing" version 1.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("dap-to-autoresponders-daar.php" instead of "init.php")
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 detected19,690 lines of code in 111 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 53 | 1,787 | 5,989 | 12,481 |
XML | 1 | 903 | 21 | 3,330 |
CSS | 4 | 45 | 225 | 1,854 |
HTML | 47 | 0 | 0 | 1,471 |
SVG | 1 | 0 | 0 | 339 |
make | 2 | 44 | 44 | 115 |
JavaScript | 1 | 9 | 4 | 44 |
Perl | 1 | 16 | 5 | 31 |
Python | 1 | 10 | 2 | 25 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 14.42 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 103.00 |
Average method complexity | 2.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 36 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 36 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 471 | |
▷ Static methods | 7 | 1.49% |
▷ Public methods | 443 | 94.06% |
▷ Protected methods | 24 | 5.10% |
▷ Private methods | 4 | 0.85% |
Functions | 59 | |
▷ Named functions | 59 | 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
6 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/btn_bg.png | 0.13KB | 0.29KB | 0.00% |
img/selected_tab.png | 0.99KB | 0.21KB | ▼ 79.01% |
logo.png | 1.16KB | 0.28KB | ▼ 76.14% |
img/gh_bg.png | 0.96KB | 0.08KB | ▼ 91.22% |
img/activated.png | 1.49KB | 0.53KB | ▼ 64.55% |