10% atariage-dashboard-feed

Code Review | AtariAge Dashboard Feed

WordPress plugin AtariAge Dashboard Feed scored10%from 54 tests.

About plugin

  • Plugin page: atariage-dashboar...
  • Plugin version: 2.8
  • PHP version: 7.4.16
  • WordPress compatibility: 2.7-6.1.1
  • WordPress version: 6.3.1
  • First release: Oct 6, 2008
  • Latest release: Feb 23, 2023
  • Number of updates: 75
  • Update frequency: every 71.7 days
  • Top authors: doc4 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /3,057 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
  • The plugin cannot be installed
    • > User deprecated in wp-includes/functions.php+5643
    File rss.php is deprecated since version 3.0.0! Use wp-includes/class-simplepie.php instead.

Server metrics [RAM: ▼1.96MB] [CPU: ▼54.30ms] Passed 4 tests

An overview of server-side resources used by AtariAge Dashboard Feed
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.03 ▼1.444.36 ▼38.67
Dashboard /wp-admin2.05 ▼1.265.38 ▼44.77
Posts /wp-admin/edit.php2.05 ▼1.316.70 ▼46.48
Add New Post /wp-admin/post-new.php2.05 ▼3.845.11 ▼87.29
Media Library /wp-admin/upload.php2.05 ▼1.185.46 ▼29.79

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
db_upgraded
can_compress_scripts
theysaidso_admin_options
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for AtariAge Dashboard Feed
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,885 ▲12414.34 ▼0.031.79 ▼0.0740.76 ▼5.08
Dashboard /wp-admin2,291 ▲1265.59 ▼0.0891.93 ▼6.7280.09 ▲35.31
Posts /wp-admin/edit.php2,103 ▼02.01 ▲0.0239.78 ▲4.5536.16 ▲0.78
Add New Post /wp-admin/post-new.php1,526 ▼223.12 ▼0.21665.92 ▲4.5156.98 ▲3.90
Media Library /wp-admin/upload.php1,400 ▼04.10 ▼0.14111.49 ▲7.2046.47 ▼1.23

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • This plugin cannot be uninstalled
    • > User deprecated in wp-includes/functions.php+5643
    File rss.php is deprecated since version 3.0.0! Use wp-includes/class-simplepie.php instead.
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

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
Please fix the following
  • 5× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/atariage-dashboard-feed/atariage-dashboard-feed.php:132
    • > PHP Warning
      Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/atariage-dashboard-feed/atariage-dashboard-feed.php on line 32
    • > PHP Warning
      include_once(ABSPATHWPINC/rss.php): failed to open stream: No such file or directory in wp-content/plugins/atariage-dashboard-feed/atariage-dashboard-feed.php on line 32
    • > PHP Warning
      include_once(): Failed opening 'ABSPATHWPINC/rss.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/atariage-dashboard-feed/atariage-dashboard-feed.php on line 32
    • > PHP Warning
      Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/atariage-dashboard-feed/atariage-dashboard-feed.php on line 32

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: atari, rss, feed, gaming, retro...

atariage-dashboard-feed/atariage-dashboard-feed.php Passed 13 tests

The main PHP file in "AtariAge Dashboard Feed" ver. 2.8 adds more information about the plugin and also serves as the entry point for this plugin
54 characters long description:
Add the AtariAge RSS Feed to your WordPress Dashboard!

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin132 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1312576
CSS113156

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.39
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%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
icon.png3.83KB2.44KB▼ 36.18%