89% admin-dashboard-rss-feed

Code Review | Admin Dashboard RSS Feed

WordPress plugin Admin Dashboard RSS Feed scored89%from 54 tests.

About plugin

  • Plugin page: admin-dashboard-r...
  • Plugin version: 3.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7.5-6.1.1
  • WordPress version: 6.3.1
  • First release: Oct 27, 2017
  • Latest release: Feb 10, 2023
  • Number of updates: 50
  • Update frequency: every 38.7 days
  • Top authors: wsxplugindev (100%)

Code review

54 tests

User reviews

1 review

Install metrics

600+ active /13,200 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

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

Analyzing server-side resources used by Admin Dashboard RSS Feed
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0240.13 ▼2.18
Dashboard /wp-admin3.29 ▼0.0146.13 ▼6.97
Posts /wp-admin/edit.php3.37 ▲0.0149.21 ▼1.17
Add New Post /wp-admin/post-new.php5.90 ▲0.0195.74 ▲5.55
Media Library /wp-admin/upload.php3.24 ▲0.0135.42 ▲2.75
Admin Dashboard RSS Feed /wp-admin/options-general.php?page=admin-dashboard-rss-feed/admin-rss-feed.php3.2437.60

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_theysaidso_widget
db_upgraded
widget_recent-posts
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

Admin Dashboard RSS Feed: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,860 ▲12513.60 ▼0.771.71 ▲0.0139.52 ▼12.41
Dashboard /wp-admin2,250 ▲624.87 ▼0.94107.91 ▲9.0741.21 ▼1.94
Posts /wp-admin/edit.php2,098 ▲92.00 ▼0.0339.35 ▼1.0037.47 ▲1.65
Add New Post /wp-admin/post-new.php1,542 ▲2818.19 ▲0.67606.85 ▼74.6252.64 ▼4.17
Media Library /wp-admin/upload.php1,397 ▲64.16 ▼0.1297.22 ▲0.2743.50 ▲1.33
Admin Dashboard RSS Feed /wp-admin/options-general.php?page=admin-dashboard-rss-feed/admin-rss-feed.php1,0503.1139.4126.44

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
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means 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 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 86% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
  • Screenshots: Please add images for these screenshots: #1 (screenshot-1.png.), #2 (screenshot-2.png.)
The official readme.txt might help

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

The primary PHP file in "Admin Dashboard RSS Feed" version 3.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("admin-dashboard-rss-feed.php" instead of "admin-rss-feed.php")
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 151 characters long)
  • Domain Path: The domain path folder was not found ("/languages")

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 detected327 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP14650257
CSS114270

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.29
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%
Functions11
▷ Named functions11100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
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%