77% auxi-feed

Code Review | Auxi Feed

WordPress plugin Auxi Feed scored77%from 54 tests.

About plugin

  • Plugin page: auxi-feed
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Dec 16, 2015
  • Latest release: Jun 1, 2016
  • Number of updates: 10
  • Update frequency: every 16.8 days
  • Top authors: auxillerate (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /645 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

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

Server-side resources used by Auxi Feed
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0234.26 ▼11.41
Dashboard /wp-admin3.32 ▲0.0244.79 ▼4.55
Posts /wp-admin/edit.php3.37 ▲0.0145.60 ▲0.11
Add New Post /wp-admin/post-new.php5.90 ▲0.0187.12 ▼10.34
Media Library /wp-admin/upload.php3.24 ▲0.0135.45 ▲2.72
Auxi Feed /wp-admin/options-general.php?page=tw000013.2131.42

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 96 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
db_upgraded
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Auxi Feed
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲5813.16 ▼1.271.76 ▼0.1843.68 ▼3.01
Dashboard /wp-admin2,210 ▲254.84 ▼1.03107.47 ▲4.9938.64 ▼7.45
Posts /wp-admin/edit.php2,096 ▲72.02 ▼0.0539.33 ▼0.6534.44 ▼1.55
Add New Post /wp-admin/post-new.php1,536 ▲218.30 ▼4.83599.24 ▼1.8759.86 ▲5.61
Media Library /wp-admin/upload.php1,386 ▼54.27 ▲0.0393.92 ▼2.8341.04 ▼3.54
Auxi Feed /wp-admin/options-general.php?page=tw000018951.7727.9527.37

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

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 0% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/auxi-feed/lib/index.php
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/auxi-feed/auxi_feed_tw.php:16

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 83% from 29 tests

readme.txt 81% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
  • Contributors: The plugin contributors field is not present
  • Requires at least: Version format is invalid
  • Tested up to: Version format is invalid
The official readme.txt is a good inspiration

auxi-feed/auxi_feed_tw.php 85% from 13 tests

The principal PHP file in "Auxi Feed" v. 1.0 is loaded by WordPress automatically on each request
The following require your attention:
  • Main file name: Name the main plugin file the same as the plugin slug ("auxi-feed.php" instead of "auxi_feed_tw.php")
  • Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase

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 plugin31,130 lines of code in 87 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript706,7596,37029,676
PHP7212146635
CSS59110634
Markdown3520122
JSON20063

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.21
Average class complexity19.00
▷ Minimum class complexity1.00
▷ Maximum class complexity55.00
Average method complexity3.06
▷ Minimum method complexity1.00
▷ Maximum method complexity22.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods35
▷ Static methods12.86%
▷ Public methods3188.57%
▷ Protected methods00.00%
▷ Private methods411.43%
Functions1
▷ Named functions00.00%
▷ Anonymous functions1100.00%
Constants3
▷ Global constants00.00%
▷ Class constants3100.00%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/warning-icon.png13.59KB5.41KB▼ 60.17%
admin/assets/images/auxi_logo.png3.61KB1.56KB▼ 56.80%
assets/images/twitter-bird-16x16.png1.47KB0.46KB▼ 68.92%