90% catchfeeder

Code Review | CatchFeeder

WordPress plugin CatchFeeder scored90%from 54 tests.

About plugin

  • Plugin page: catchfeeder
  • Plugin version: 3.12
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.1.1-6.3.1
  • WordPress version: 6.3.1
  • First release: May 30, 2019
  • Latest release: Aug 30, 2023
  • Number of updates: 11
  • Update frequency: every 141.3 days
  • Top authors: citybeachsoftware (63.64%)catchfeeder (45.45%)

Code review

54 tests

User reviews

1 review

Install metrics

60+ active /1,455 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.03MB] [CPU: ▼9.50ms] Passed 4 tests

Server-side resources used by CatchFeeder
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0443.63 ▲2.96
Dashboard /wp-admin3.35 ▲0.0047.31 ▼19.86
Posts /wp-admin/edit.php3.46 ▲0.1052.08 ▲2.29
Add New Post /wp-admin/post-new.php5.93 ▲0.0489.40 ▼21.70
Media Library /wp-admin/upload.php3.27 ▲0.0437.10 ▲1.26

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for CatchFeeder
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.25 ▼0.101.57 ▼0.2445.20 ▼1.00
Dashboard /wp-admin2,198 ▲275.63 ▲0.0794.15 ▲7.3542.29 ▼3.31
Posts /wp-admin/edit.php2,100 ▼01.94 ▼0.0539.34 ▼3.0936.28 ▲0.63
Add New Post /wp-admin/post-new.php1,526 ▼023.25 ▼0.21697.58 ▲82.2853.46 ▲0.70
Media Library /wp-admin/upload.php1,403 ▲34.21 ▲0.0696.94 ▼7.9443.77 ▼3.51

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
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

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

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: catchfeeder, catch, woocommerce

catchfeeder/catchfeeder.php Passed 13 tests

The main file in "CatchFeeder" v. 3.12 serves as a complement to information provided in readme.txt and as the entry point to the plugin
33 characters long description:
Connect your WooCommerce to Catch

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin350 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP38518350

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.33
Average class complexity12.50
▷ Minimum class complexity12.00
▷ Maximum class complexity13.00
Average method complexity2.21
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods19
▷ Static methods315.79%
▷ Public methods1789.47%
▷ Protected methods00.00%
▷ Private methods210.53%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants00.00%
▷ Class constants4100.00%
▷ Public constants4100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected