90% stock-market-publisher-tools

Code Review | Stock Market Publisher Tools

WordPress plugin Stock Market Publisher Tools scored90%from 54 tests.

About plugin

  • Plugin page: stock-market-publ...
  • Plugin version: 1.0
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-4.9.6
  • WordPress version: 6.3.1
  • First release: Jun 26, 2018
  • Latest release: Jul 2, 2018
  • Number of updates: 4
  • Update frequency: every 9.0 days
  • Top authors: wiltonio (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /560 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
Install script ran successfully

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

A check of server-side resources used by Stock Market Publisher Tools
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.63 ▼13.11
Dashboard /wp-admin3.31 ▲0.0150.79 ▼6.94
Posts /wp-admin/edit.php3.36 ▲0.0147.98 ▼10.24
Add New Post /wp-admin/post-new.php5.89 ▲0.0186.95 ▼10.70
Media Library /wp-admin/upload.php3.24 ▲0.0136.37 ▼17.69

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts
widget_recent-posts
widget_recent-comments
db_upgraded

Browser metrics Passed 4 tests

Stock Market Publisher Tools: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲5413.20 ▼1.221.89 ▼0.1748.27 ▲2.56
Dashboard /wp-admin2,221 ▲185.81 ▼0.00119.07 ▲8.3846.44 ▲2.47
Posts /wp-admin/edit.php2,097 ▼62.00 ▲0.0436.01 ▼1.6439.36 ▲9.29
Add New Post /wp-admin/post-new.php1,545 ▼023.18 ▲0.10682.02 ▼43.2359.34 ▼11.73
Media Library /wp-admin/upload.php1,400 ▼04.18 ▲0.04100.90 ▼18.8144.59 ▼7.42

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP Passed 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
Congratulations! This plugin passed the SRP test

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)
No browser errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: finance, financial, stock market, stocks

stock-market-publisher-tools/fintel.php 92% from 13 tests

The principal PHP file in "Stock Market Publisher Tools" v. 1.0 is loaded by WordPress automatically on each request
The following require your attention:
  • Main file name: The principal plugin file should be the same as the plugin slug ("stock-market-publisher-tools.php" instead of "fintel.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected51 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP3204650
Markdown1001

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.42
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
Namespaces1
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%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants00.00%
▷ Class constants2100.00%
▷ Public constants2100.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