78% dap-to-autoresponders-daar

Code Review | DAP to Autoresponders Email Syncing

WordPress plugin DAP to Autoresponders Email Syncing scored78%from 54 tests.

About plugin

  • Plugin page: dap-to-autorespon...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.9.0-4.0.1
  • WordPress version: 6.3.1
  • First release: Nov 16, 2015
  • Latest release: Nov 16, 2015
  • Number of updates: 6
  • Update frequency: every 93.5 days
  • Top authors: Bhuvnesh (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /715 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0336.85 ▼2.69
Dashboard /wp-admin3.33 ▼0.0144.32 ▼12.86
Posts /wp-admin/edit.php3.39 ▲0.0344.75 ▼2.13
Add New Post /wp-admin/post-new.php5.93 ▲0.0585.46 ▼11.46
Media Library /wp-admin/upload.php3.26 ▲0.0332.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,837 ▲9113.35 ▼1.241.72 ▲0.0943.07 ▲0.51
Dashboard /wp-admin2,231 ▲404.89 ▼0.0198.43 ▼7.9371.35 ▲28.19
Posts /wp-admin/edit.php2,129 ▲432.09 ▲0.0935.98 ▼3.1933.00 ▲2.37
Add New Post /wp-admin/post-new.php1,563 ▲4923.30 ▲5.79720.97 ▲50.6348.79 ▼3.96
Media Library /wp-admin/upload.php1,425 ▲344.27 ▲0.08107.78 ▲8.8344.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

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)
The official readme.txt might help

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:
LanguageFilesBlank linesComment linesLines of code
PHP531,7875,98912,481
XML1903213,330
CSS4452251,854
HTML47001,471
SVG100339
make24444115
JavaScript19444
Perl116531
Python110225

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 code0.28
Average class complexity14.42
▷ Minimum class complexity1.00
▷ Maximum class complexity103.00
Average method complexity2.10
▷ Minimum method complexity1.00
▷ Maximum method complexity24.00
Code structure
Namespaces0
Interfaces2
Traits0
Classes36
▷ Abstract classes00.00%
▷ Concrete classes36100.00%
▷ Final classes00.00%
Methods471
▷ Static methods71.49%
▷ Public methods44394.06%
▷ Protected methods245.10%
▷ Private methods40.85%
Functions59
▷ Named functions59100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
FileSize - originalSize - compressedSavings
img/btn_bg.png0.13KB0.29KB0.00%
img/selected_tab.png0.99KB0.21KB▼ 79.01%
logo.png1.16KB0.28KB▼ 76.14%
img/gh_bg.png0.96KB0.08KB▼ 91.22%
img/activated.png1.49KB0.53KB▼ 64.55%