10% aklamator-infeed

Code Review | Aklamator INfeed

WordPress plugin Aklamator INfeed scored10%from 54 tests.

About plugin

  • Plugin page: aklamator-infeed
  • Plugin version: 2.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 1.0-4.9.2
  • WordPress version: 6.3.1
  • First release: Jan 11, 2018
  • Latest release: Jan 26, 2018
  • Number of updates: 7
  • Update frequency: every 2.1 days
  • Top authors: aklamator (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /931 total downloads


Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
  • Install procedure had errors
    • > Warning in wp-includes/class-wp-hook.php+310
    call_user_func_array() expects parameter 1 to be a valid callback, function 'set_up_options_aklamator_infeed' not found or invalid function name

Server metrics [RAM: ▲0.13MB] [CPU: ▼2.42ms] Passed 4 tests

This is a short check of server-side resources used by Aklamator INfeed
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.60 ▲0.1438.99 ▼6.56
Dashboard /wp-admin3.44 ▲0.1351.39 ▼1.74
Posts /wp-admin/edit.php3.55 ▲0.1948.61 ▼0.75
Add New Post /wp-admin/post-new.php6.02 ▲0.1389.85 ▼0.61
Media Library /wp-admin/upload.php3.36 ▲0.1338.11 ▲5.63

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 7 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for Aklamator INfeed
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲5813.19 ▼1.311.59 ▼0.6441.60 ▼4.90
Dashboard /wp-admin2,224 ▲365.85 ▲0.7799.86 ▼15.3666.42 ▲19.39
Posts /wp-admin/edit.php2,104 ▲181.98 ▼0.0238.82 ▲1.2834.99 ▼0.37
Add New Post /wp-admin/post-new.php1,536 ▲2223.20 ▲5.63761.87 ▲105.7559.39 ▲5.56
Media Library /wp-admin/upload.php1,400 ▲94.10 ▼0.0698.51 ▼3.7067.96 ▲25.25

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Zombie WordPress options were found after uninstall: 7 options
    • widget_aklamator_infeed_widget
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/aklamator-infeed/aklamator-infeed.php:32

User-side errors Passed 1 test

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


Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
  • Tags: Please reduce the number of tags, currently 18 tag instead of maximum 10
  • Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line ( === aklamator-infeed === )
Please take inspiration from this readme.txt

aklamator-infeed/aklamator-infeed.php 92% from 13 tests

"Aklamator INfeed" version 2.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 366 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,340 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.36
Average class complexity37.00
▷ Minimum class complexity11.00
▷ Maximum class complexity63.00
Average method complexity6.54
▷ Minimum method complexity1.00
▷ Maximum method complexity33.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
▷ Static methods17.69%
▷ Public methods1292.31%
▷ Protected methods00.00%
▷ Private methods17.69%
▷ Named functions6100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
9 PNG files occupy 0.50MB with 0.39MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/promo-300x200.png113.75KB33.12KB▼ 70.88%
images/teaser-810x262.png279.89KB88.35KB▼ 68.43%
assets/dataTables/images/sort_desc_disabled.png1.09KB0.17KB▼ 84.55%
assets/dataTables/images/sort_desc.png1.10KB0.17KB▼ 84.15%
assets/dataTables/images/sort_asc.png1.11KB0.17KB▼ 84.28%