84% dual-rss-feed-key

Code Review | Dual RSS Feed Key

WordPress plugin Dual RSS Feed Key scored84%from 54 tests.

About plugin

  • Plugin page: dual-rss-feed-key
  • Plugin version: 0.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0.0-4.0.0
  • WordPress version: 6.3.1
  • First release: Sep 12, 2014
  • Latest release: Sep 12, 2014
  • Number of updates: 3
  • Update frequency: N/A
  • Top authors: jeremyfelt (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,822 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
Install script ran successfully

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

A check of server-side resources used by Dual RSS Feed Key
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0135.84 ▼3.46
Dashboard /wp-admin3.32 ▼0.0247.90 ▼13.03
Posts /wp-admin/edit.php3.37 ▲0.0246.55 ▼4.00
Add New Post /wp-admin/post-new.php5.90 ▲0.0280.85 ▼29.49
Media Library /wp-admin/upload.php3.24 ▲0.0231.93 ▼2.90

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for Dual RSS Feed Key
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.22 ▼1.201.68 ▼0.0440.01 ▼3.92
Dashboard /wp-admin2,206 ▲184.80 ▼0.08104.58 ▼0.9437.90 ▼8.10
Posts /wp-admin/edit.php2,089 ▼31.98 ▼0.0133.65 ▼11.1732.28 ▼4.74
Add New Post /wp-admin/post-new.php1,531 ▼022.87 ▼0.23625.40 ▲42.8454.96 ▲0.84
Media Library /wp-admin/upload.php1,391 ▲34.20 ▼0.0695.43 ▼0.5641.14 ▼4.45

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
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/dual-rss-feed-key/dual-rss-feed.php:17

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 96% 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
2 plugin tags: rss, feed

dual-rss-feed-key/dual-rss-feed.php 92% from 13 tests

"Dual RSS Feed Key" version 0.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("dual-rss-feed-key.php" instead of "dual-rss-feed.php")

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
Success! There were no dangerous files found in this plugin46 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1113146

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity8.00
▷ Minimum class complexity8.00
▷ Maximum class complexity8.00
Average method complexity2.40
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods00.00%
▷ Public methods5100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.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
No PNG images were found in this plugin