10% feed-architect

Code Review | XML Aggregator by Feed Architect

WordPress plugin XML Aggregator by Feed Architect scored 10% from 54 tests.

About plugin

  • Plugin page: feed-architect
  • Plugin version: 1.0.1
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.7-5.3
  • WordPress version: 5.8.1
  • First release: Dec 31, 2019
  • Latest release: Feb 29, 2020
  • Number of updates: 4
  • Update frequency: every 29.2 days
  • Top authors: cosso (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 259 total downloads

Benchmarks

Plugin footprint 75% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
  • The plugin cannot be installed
    • > Notice in wp-content/plugins/feed-architect/admin/feed-architect-admin.php+336
    Trying to get property 'term_id' of non-object

Server metrics [RAM: ▼0.00MB] [CPU: ▼141.03ms] Passed 4 tests

Server-side resources used by XML Aggregator by Feed Architect
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.83 ▲0.1239.46 ▲13.54
Dashboard /wp-admin3.06 ▲0.0052.55 ▲6.81
Posts /wp-admin/edit.php3.11 ▲0.0048.54 ▲3.26
Add New Post /wp-admin/post-new.php5.42 ▼0.0293.91 ▼575.35
Media Library /wp-admin/upload.php3.00 ▲0.0032.95 ▲1.15

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by XML Aggregator by Feed Architect
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲13115.95 ▲0.249.73 ▼1.5445.83 ▼4.36
Dashboard /wp-admin2,967 ▲336.07 ▼0.09147.46 ▼1.46110.33 ▲1.21
Posts /wp-admin/edit.php2,739 ▼02.71 ▼0.0164.71 ▼5.1685.46 ▲0.22
Add New Post /wp-admin/post-new.php1,615 ▼6821.39 ▲2.69307.13 ▼91.05106.35 ▼5.40
Media Library /wp-admin/upload.php1,807 ▼05.03 ▼0.01154.20 ▼2.66113.65 ▼0.25

Uninstaller [IO: ▲0.00MB] [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 Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 96% from 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
4 plugin tags: feed, marketing, products, xml

feed-architect/feed-architect.php 92% from 13 tests

The entry point to "XML Aggregator by Feed Architect" version 1.0.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
  • Description: The description should be shorter than 140 characters (currently 222 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin415 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
PHP755428298
CSS1121276
Markdown110027
JavaScript141914

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.21
Average class complexity7.75
▷ Minimum class complexity1.00
▷ Maximum class complexity28.00
Average method complexity2.59
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods17
▷ Static methods1270.59%
▷ Public methods17100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions4
▷ Named functions375.00%
▷ Anonymous functions125.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
admin/img/big-logo.png7.76KB5.51KB▼ 28.99%
admin/img/logo.png20.49KB1.94KB▼ 90.55%