10% actionable-news

Code Review | Actionable News

WordPress plugin Actionable News scored10%from 54 tests.

About plugin

  • Plugin page: actionable-news
  • Plugin version: 0.1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.2-4.5
  • WordPress version: 6.3.1
  • First release: May 13, 2016
  • Latest release: May 26, 2016
  • Number of updates: 5
  • Update frequency: every 2.8 days
  • Top authors: vodmal (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /695 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
  • Install procedure had errors
    • > Parse error in wp-content/plugins/actionable-news/actionable-news.php+113
    syntax error, unexpected end of file

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

This is a short check of server-side resources used by Actionable News
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0036.29 ▼5.90
Dashboard /wp-admin3.31 ▲0.0044.28 ▼6.75
Posts /wp-admin/edit.php3.36 ▲0.0048.93 ▼0.58
Add New Post /wp-admin/post-new.php5.89 ▲0.0091.73 ▼6.06
Media Library /wp-admin/upload.php3.23 ▲0.0034.61 ▼1.71

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments
widget_recent-posts
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Actionable News
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲4313.29 ▼1.291.74 ▼0.5137.31 ▼13.81
Dashboard /wp-admin2,209 ▲185.86 ▼0.0496.88 ▼18.1239.64 ▼3.33
Posts /wp-admin/edit.php2,089 ▲212.06 ▲0.0239.93 ▲4.8234.26 ▲1.93
Add New Post /wp-admin/post-new.php1,534 ▼023.15 ▼0.09667.37 ▼10.1867.19 ▲15.85
Media Library /wp-admin/upload.php1,388 ▼34.21 ▼0.0292.95 ▼4.7241.92 ▼5.76

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • 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
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Parse error
      syntax error, unexpected end of file in wp-content/plugins/actionable-news/actionable-news.php on line 113

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: widget, stocks, news

actionable-news/actionable-news.php Passed 13 tests

The primary PHP file in "Actionable News" version 0.1.1 is used by WordPress to initiate all plugin functionality
25 characters long description:
WhoTrades Actionable News

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 detected65 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1262265

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.17
Average class complexity4.00
▷ Minimum class complexity4.00
▷ Maximum class complexity4.00
Average method complexity1.75
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.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
There are no PNG files in this plugin