74% easy-scheduled-posts

Code Review | Easy Scheduled Posts

WordPress plugin Easy Scheduled Posts scored74%from 54 tests.

About plugin

  • Plugin page: easy-scheduled-posts
  • Plugin version: 15.01
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0.0-4.5.0
  • WordPress version: 6.3.1
  • First release: May 24, 2009
  • Latest release: Apr 6, 2016
  • Number of updates: 35
  • Update frequency: every 71.7 days
  • Top authors: christopherross (97.14%)nickadamstv (5.71%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /9,271 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully

Server metrics [RAM: ▼1.61MB] [CPU: ▼57.90ms] Passed 4 tests

A check of server-side resources used by Easy Scheduled Posts
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.39 ▼1.0711.74 ▼32.50
Dashboard /wp-admin2.41 ▼0.9413.47 ▼55.43
Posts /wp-admin/edit.php2.41 ▼0.9511.40 ▼49.89
Add New Post /wp-admin/post-new.php2.41 ▼3.4813.39 ▼93.79
Media Library /wp-admin/upload.php2.41 ▼0.8211.03 ▼26.43

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options
widget_thissimyurl_easyscheduledposts_widget
widget_recent-posts
widget_recent-comments
db_upgraded
can_compress_scripts
widget_theysaidso_widget
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for Easy Scheduled Posts
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.27 ▼0.261.71 ▼0.3044.66 ▲0.64
Dashboard /wp-admin2,195 ▲185.63 ▼0.0390.99 ▼10.1042.13 ▼2.16
Posts /wp-admin/edit.php2,097 ▼32.02 ▲0.0238.52 ▲2.7035.55 ▲1.69
Add New Post /wp-admin/post-new.php1,526 ▼223.41 ▲0.42678.04 ▼30.2952.29 ▼5.29
Media Library /wp-admin/upload.php1,397 ▼34.18 ▼0.0295.48 ▼6.7446.62 ▲0.59

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • This plugin cannot be uninstalled
    • > Deprecated in wp-content/plugins/easy-scheduled-posts/widgets/thissimyurl_EasyScheduledPosts_Widget.php+3
    Methods with the same name as their class will not be constructors in a future version of PHP; thissimyurl_EasyScheduledPosts_Widget has a deprecated constructor
  • Zombie WordPress options were found after uninstall: 7 options
    • widget_thissimyurl_easyscheduledposts_widget
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

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 take a closer look at the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/easy-scheduled-posts/widgets/thissimyurl_EasyScheduledPosts_Widget.php:3

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 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
  • Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
The official readme.txt might help

easy-scheduled-posts/easy-scheduled-posts.php Passed 13 tests

Analyzing the main PHP file in "Easy Scheduled Posts" version 15.01
70 characters long description:
An easy to use WordPress function to add Scheduled Posts to any theme.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin510 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP4227268325
PO File256112154
CSS121631

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.21
Average class complexity9.33
▷ Minimum class complexity7.00
▷ Maximum class complexity12.00
Average method complexity2.39
▷ Minimum method complexity1.00
▷ Maximum method complexity11.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods18
▷ Static methods00.00%
▷ Public methods18100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants8
▷ Global constants8100.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
No PNG images were found in this plugin