89% admin-dashboard-rss-feed

Code Review | Admin Dashboard RSS Feed

WordPress plugin Admin Dashboard RSS Feed scored 89% from 54 tests.

About plugin

  • Plugin page: admin-dashboard-r...
  • Plugin version: 2.6
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7.5-5.9.2
  • WordPress version: 5.9.2
  • First release: Oct 27, 2017
  • Latest release: Mar 16, 2022
  • Number of updates: 44
  • Update frequency: every 36.4 days
  • Top authors: wsxplugindev (100%)

Code review

54 tests

User reviews

1 review

Install metrics

400+ active / 7,472 total downloads


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
This plugin's installer ran successfully

Server metrics [RAM: ▼1.16MB] [CPU: ▼323.11ms] Passed 4 tests

Analyzing server-side resources used by Admin Dashboard RSS Feed
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0250.76 ▼3.32
Dashboard /wp-admin3.17 ▼0.2418.12 ▼15.86
Posts /wp-admin/edit.php3.17 ▼0.4717.90 ▼19.14
Add New Post /wp-admin/post-new.php3.17 ▼3.8019.34 ▼1,249.65
Media Library /wp-admin/upload.php3.17 ▼0.1215.92 ▼7.77
Admin Dashboard RSS Feed /wp-admin/options-general.php?page=admin-dashboard-rss-feed/admin-rss-feed.php3.3127.05

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Admin Dashboard RSS Feed
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,844 ▲9016.24 ▲0.246.85 ▲1.132.13 ▼0.75
Dashboard /wp-admin2,946 ▲856.18 ▲0.03115.73 ▼19.70157.63 ▼14.48
Posts /wp-admin/edit.php2,698 ▲133.25 ▲0.0162.26 ▼3.22138.03 ▼10.47
Add New Post /wp-admin/post-new.php1,757 ▲8921.53 ▲3.13442.31 ▲53.92153.13 ▼2.78
Media Library /wp-admin/upload.php1,705 ▲75.51 ▼0.01139.92 ▲4.34185.49 ▼1.26
Admin Dashboard RSS Feed /wp-admin/options-general.php?page=admin-dashboard-rss-feed/admin-rss-feed.php1,3524.1069.77125.79

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
  • This plugin cannot be uninstalled
    • > Notice in wp-content/plugins/admin-dashboard-rss-feed/admin-rss-feed.php+89
    Undefined index: page

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

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

SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

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


Plugin configuration 83% 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
Please fix the following attributes:
  • Screenshots: Add images for these screenshots: #1 (screenshot-1.png.), #2 (screenshot-2.png.)
  • Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line ( === admin-dashboard-rss-feed === )
You can take inspiration from this readme.txt

admin-dashboard-rss-feed/admin-rss-feed.php 77% from 13 tests

The principal PHP file in "Admin Dashboard RSS Feed" v. 2.6 is loaded by WordPress automatically on each request
You should first fix the following items:
  • Description: The description should be shorter than 140 characters (currently 151 characters long)
  • Domain Path: The domain path folder does not exist ("/languages")
  • Main file name: The principal plugin file should be the same as the plugin slug ("admin-dashboard-rss-feed.php" instead of "admin-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
Good job! No executable or dangerous file extensions detected324 lines of code in 2 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.27
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions11100.00%
▷ Anonymous functions00.00%
▷ 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.47MB with 0.30MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-2.png113.29KB30.94KB▼ 72.69%
screenshot-1.png367.52KB157.87KB▼ 57.04%