84% acymailing-integration-for-uncanny-automator

Code Review | Uncanny Automator integration - AcyMailing

WordPress plugin Uncanny Automator integration - AcyMailing scored84%from 54 tests.

About plugin

  • Plugin page: acymailing-integr...
  • Plugin version: 1.4
  • PHP compatiblity: 7.2.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.3
  • WordPress version: 6.3.1
  • First release: Jan 24, 2023
  • Latest release: Aug 17, 2023
  • Number of updates: 7
  • Update frequency: every 38.1 days
  • Top authors: acyba (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /487 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.01MB] [CPU: ▼4.24ms] Passed 4 tests

Analyzing server-side resources used by Uncanny Automator integration - AcyMailing
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0137.91 ▼2.71
Dashboard /wp-admin3.31 ▲0.0147.97 ▼2.91
Posts /wp-admin/edit.php3.36 ▲0.0147.56 ▼2.29
Add New Post /wp-admin/post-new.php5.89 ▲0.0188.58 ▼9.06
Media Library /wp-admin/upload.php3.23 ▲0.0137.85 ▲2.00

Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
db_upgraded
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for Uncanny Automator integration - AcyMailing
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.24 ▼0.051.83 ▲0.1744.45 ▲0.72
Dashboard /wp-admin2,192 ▲125.65 ▲0.1185.57 ▼7.7637.89 ▼5.34
Posts /wp-admin/edit.php2,100 ▼02.01 ▲0.0239.00 ▲2.4438.97 ▼0.68
Add New Post /wp-admin/post-new.php1,526 ▼023.67 ▲0.60684.53 ▲30.8750.07 ▲1.03
Media Library /wp-admin/upload.php1,403 ▲34.20 ▼0.0198.38 ▼11.6747.15 ▼1.53

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
  • 9× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Trait 'Uncanny_Automator\\Recipe\\Actions' not found in wp-content/plugins/acymailing-integration-for-uncanny-automator/acymailing/actions/acym-add-tag.php on line 6
    • > PHP Fatal error
      Trait 'Uncanny_Automator\\Recipe\\Actions' not found in wp-content/plugins/acymailing-integration-for-uncanny-automator/acymailing/actions/acym-unsubscribe-from-list.php on line 7
    • > PHP Fatal error
      Trait 'Uncanny_Automator\\Recipe\\Actions' not found in wp-content/plugins/acymailing-integration-for-uncanny-automator/acymailing/actions/acym-update-email.php on line 6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acymailing-integration-for-uncanny-automator/acymailing-integration-for-uncanny-automator.php:20
    • > PHP Fatal error
      Trait 'Uncanny_Automator\\Recipe\\Actions' not found in wp-content/plugins/acymailing-integration-for-uncanny-automator/acymailing/actions/acym-subscribe-to-list.php on line 7
    • > PHP Fatal error
      Trait 'Uncanny_Automator\\Recipe\\Triggers' not found in wp-content/plugins/acymailing-integration-for-uncanny-automator/acymailing/triggers/acym-user-updated.php on line 6
    • > PHP Fatal error
      Trait 'Uncanny_Automator\\Recipe\\Actions' not found in wp-content/plugins/acymailing-integration-for-uncanny-automator/acymailing/actions/acym-remove-tag.php on line 6
    • > PHP Fatal error
      Trait 'Uncanny_Automator\\Recipe\\Integrations' not found in wp-content/plugins/acymailing-integration-for-uncanny-automator/acymailing/add-acymailing-integration.php on line 5
    • > PHP Fatal error
      Trait 'Uncanny_Automator\\Recipe\\Actions' not found in wp-content/plugins/acymailing-integration-for-uncanny-automator/acymailing/actions/acym-save-user.php on line 6

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration Passed 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
5 plugin tags: integration, newsletter, uncanny, acymailing, automator

acymailing-integration-for-uncanny-automator/acymailing-integration-for-uncanny-automator.php Passed 13 tests

The main file in "Uncanny Automator integration - AcyMailing" v. 1.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
56 characters long description:
Add AcyMailing triggers and actions in Uncanny Automator

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
Success! There were no dangerous files found in this plugin488 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
PHP910147459
SVG10129

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.09
Average class complexity2.67
▷ Minimum class complexity1.00
▷ Maximum class complexity4.00
Average method complexity1.43
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes9
▷ Abstract classes00.00%
▷ Concrete classes9100.00%
▷ Final classes00.00%
Methods35
▷ Static methods00.00%
▷ Public methods2057.14%
▷ Protected methods1542.86%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants23
▷ Global constants00.00%
▷ Class constants23100.00%
▷ Public constants23100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected