84% wp-kill-in-feed

Code Review | WP Kill In Feed

WordPress plugin WP Kill In Feed scored84%from 54 tests.

About plugin

  • Plugin page: wp-kill-in-feed
  • Plugin version: 1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.9.9
  • WordPress version: 6.3.1
  • First release: May 24, 2016
  • Latest release: Oct 29, 2018
  • Number of updates: 4
  • Update frequency: every 222.0 days
  • Top authors: braindouche (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,142 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.00MB] [CPU: ▲1.06ms] Passed 4 tests

This is a short check of server-side resources used by WP Kill In Feed
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0042.36 ▲1.68
Dashboard /wp-admin3.31 ▲0.0148.27 ▲0.55
Posts /wp-admin/edit.php3.36 ▲0.0049.84 ▲2.23
Add New Post /wp-admin/post-new.php5.89 ▲0.0093.64 ▼0.22
Media Library /wp-admin/upload.php3.23 ▲0.0039.34 ▲2.75

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for WP Kill In Feed
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.72 ▲0.361.69 ▼0.3138.18 ▼6.74
Dashboard /wp-admin2,195 ▲215.62 ▲0.0491.09 ▲2.3342.88 ▼1.06
Posts /wp-admin/edit.php2,100 ▼01.97 ▼0.0043.21 ▲4.4037.75 ▼1.16
Add New Post /wp-admin/post-new.php1,526 ▼023.31 ▼0.17715.98 ▲49.6756.08 ▲1.05
Media Library /wp-admin/upload.php1,397 ▼64.16 ▼0.0198.34 ▼1.1044.12 ▼1.84

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wp-kill-in-feed/kill-in-feed.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: rss, feed, shortcode, podcast, powerpress

wp-kill-in-feed/kill-in-feed.php 85% from 13 tests

The principal PHP file in "WP Kill In Feed" v. 1.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("wp-kill-in-feed.php" instead of "kill-in-feed.php")
  • Description: Please don't use more than 140 characters for the plugin description (currently 347 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin12 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP10812

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.50
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.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
There are no PNG files in this plugin