94% acymailing-rss-content

Code Review | RSS integration - AcyMailing

WordPress plugin RSS integration - AcyMailing scored 94% from 54 tests.

About plugin

  • Plugin page: acymailing-rss-co...
  • Plugin version: 1.6
  • PHP compatiblity: 5.6.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.9.2
  • WordPress version: 5.9.2
  • First release: Oct 14, 2020
  • Latest release: Mar 21, 2022
  • Number of updates: 10
  • Update frequency: every 52.3 days
  • Top authors: acyba (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 826 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

Server metrics [RAM: ▼0.02MB] [CPU: ▼296.72ms] Passed 4 tests

A check of server-side resources used by RSS integration - AcyMailing
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0159.91 ▲4.58
Dashboard /wp-admin3.41 ▲0.0139.19 ▲3.38
Posts /wp-admin/edit.php3.65 ▲0.0141.61 ▲0.56
Add New Post /wp-admin/post-new.php6.88 ▼0.0895.22 ▼1,195.39
Media Library /wp-admin/upload.php3.30 ▲0.0031.24 ▲6.83

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for RSS integration - AcyMailing
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,781 ▲2715.67 ▼0.286.28 ▼0.142.81 ▲0.12
Dashboard /wp-admin2,881 ▲206.04 ▼0.19115.49 ▼19.66155.34 ▼7.22
Posts /wp-admin/edit.php2,691 ▼33.23 ▼0.0269.15 ▲4.21155.42 ▲12.78
Add New Post /wp-admin/post-new.php1,711 ▲4321.30 ▲2.75435.78 ▲48.45160.85 ▼7.25
Media Library /wp-admin/upload.php1,701 ▲35.51 ▼0.02143.83 ▼3.71188.65 ▼5.44

Uninstaller [IO: ✅] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
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
Please fix the following
  • 2× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'AcyMailing\\Libraries\\acymPlugin' not found in wp-content/plugins/acymailing-rss-content/plugin.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_deactivation_hook() in wp-content/plugins/acymailing-rss-content/acymailing-rss.php:13

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found


Plugin configuration 96% 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
5 plugin tags: rss, rss feed, newsletter, acymailing, integration

acymailing-rss-content/acymailing-rss.php 92% from 13 tests

The main PHP script in "RSS integration - AcyMailing" version 1.6 is automatically included on every request by WordPress
You should first fix the following items:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("acymailing-rss-content.php" instead of "acymailing-rss.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 detected288 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.42
Average class complexity43.00
▷ Minimum class complexity43.00
▷ Maximum class complexity43.00
Average method complexity6.25
▷ Minimum method complexity1.00
▷ Maximum method complexity22.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods8100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions3100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
banner.png15.14KB3.79KB▼ 74.93%