84% tao-schedule-update

Code Review | TAO Schedule Update

WordPress plugin TAO Schedule Update scored84%from 54 tests.

About plugin

  • Plugin page: tao-schedule-update
  • Plugin version: 1.15
  • PHP version: 7.4.16
  • WordPress compatibility: 3.7.0-4.9.8
  • WordPress version: 6.3.1
  • First release: Apr 29, 2014
  • Latest release: Aug 17, 2018
  • Number of updates: 41
  • Update frequency: every 38.6 days
  • Top authors: Syberspace (75.61%)romanweinberger (26.83%)

Code review

54 tests

User reviews

30 reviews

Install metrics

4,000+ active /51,485 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼6.51ms] Passed 4 tests

A check of server-side resources used by TAO Schedule Update
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0440.05 ▼2.41
Dashboard /wp-admin3.34 ▼0.0049.63 ▼8.42
Posts /wp-admin/edit.php3.39 ▲0.0448.33 ▲5.33
Add New Post /wp-admin/post-new.php5.92 ▲0.0381.10 ▼16.79
Media Library /wp-admin/upload.php3.26 ▲0.0335.25 ▲1.57
Scheduled Update /wp-admin/options-general.php?page=tsu3.2330.21

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for TAO Schedule Update
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲5813.24 ▼1.411.68 ▼0.0643.11 ▼1.01
Dashboard /wp-admin2,213 ▲284.88 ▼0.0197.84 ▼18.4338.14 ▼5.38
Posts /wp-admin/edit.php2,106 ▲172.15 ▲0.1039.92 ▲3.9735.03 ▼2.23
Add New Post /wp-admin/post-new.php1,536 ▲823.03 ▼0.04659.06 ▼0.1658.40 ▲2.68
Media Library /wp-admin/upload.php1,395 ▲74.28 ▲0.0598.29 ▼1.3244.94 ▼1.03
Scheduled Update /wp-admin/options-general.php?page=tsu8232.0325.8127.00

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts

Smoke tests 75% from 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 50% from 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
Please take a closer look at the following
  • 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tao-schedule-update/tao-schedule-update.php:761
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tao-schedule-update/options.php:225

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: schedule, cron, publishing, unattended, timing

tao-schedule-update/tao-schedule-update.php 92% from 13 tests

The main PHP script in "TAO Schedule Update" version 1.15 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug

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
No dangerous file extensions were detected798 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP2118335549
PO File36171193
JavaScript110041
Markdown112015

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity39.50
▷ Minimum class complexity7.00
▷ Maximum class complexity72.00
Average method complexity3.48
▷ Minimum method complexity1.00
▷ Maximum method complexity14.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods31
▷ Static methods31100.00%
▷ Public methods2787.10%
▷ Protected methods00.00%
▷ Private methods412.90%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin