10% actionable-news

Code Review | Actionable News

WordPress plugin Actionable News scored 10% 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: 5.9.2
  • 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 / 574 total downloads

Benchmarks

Plugin footprint 75% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Please 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.02MB] [CPU: ▼299.10ms] Passed 4 tests

An overview of server-side resources used by Actionable News
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0163.93 ▲14.08
Dashboard /wp-admin3.41 ▲0.0032.31 ▼7.85
Posts /wp-admin/edit.php3.65 ▲0.0036.83 ▼1.81
Add New Post /wp-admin/post-new.php6.88 ▼0.0991.08 ▼1,187.02
Media Library /wp-admin/upload.php3.30 ▲0.0024.55 ▲0.30

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Actionable News: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,785 ▲3116.16 ▲0.585.97 ▼0.021.96 ▼0.52
Dashboard /wp-admin2,895 ▲376.07 ▼0.10121.35 ▼18.54157.09 ▼2.68
Posts /wp-admin/edit.php2,691 ▲33.23 ▼0.0063.43 ▼0.34138.73 ▼7.07
Add New Post /wp-admin/post-new.php1,690 ▼2720.57 ▼0.53417.46 ▼55.03156.09 ▼1.52
Media Library /wp-admin/upload.php1,698 ▼05.51 ▼0.03143.58 ▼4.67190.47 ▲0.61

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 1× PHP files trigger server errors when accessed directly:
    • > 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 shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: stocks, news, widget

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

This is the main PHP file of "Actionable News" version 0.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
25 characters long description:
WhoTrades Actionable News

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin65 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1262265

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued 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

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected