89% chronoflo-calendar-shortcode

Code Review | ChronoFlo Calendar ShortCode

WordPress plugin ChronoFlo Calendar ShortCode scored89%from 54 tests.

About plugin

  • Plugin page: chronoflo-calenda...
  • Plugin version: 1.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.4-4.9
  • WordPress version: 6.3.1
  • First release: Mar 22, 2018
  • Latest release: Mar 22, 2018
  • Number of updates: 4
  • Update frequency: every 0.3 days
  • Top authors: webalon (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active /1,408 total downloads

Benchmarks

Plugin footprint 83% 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: ▼0.01MB] [CPU: ▼10.23ms] Passed 4 tests

An overview of server-side resources used by ChronoFlo Calendar ShortCode
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0039.45 ▼3.89
Dashboard /wp-admin3.31 ▼0.0448.10 ▼22.52
Posts /wp-admin/edit.php3.36 ▲0.0055.56 ▲3.30
Add New Post /wp-admin/post-new.php5.89 ▲0.0086.50 ▼14.20
Media Library /wp-admin/upload.php3.23 ▲0.0036.73 ▼0.30

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

A check of browser resources used by ChronoFlo Calendar ShortCode
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲4314.56 ▲0.311.60 ▼0.1246.84 ▲2.85
Dashboard /wp-admin2,189 ▲85.62 ▼0.0989.06 ▼17.2739.85 ▼2.49
Posts /wp-admin/edit.php2,100 ▼02.01 ▲0.0339.73 ▲4.4636.94 ▲6.43
Add New Post /wp-admin/post-new.php1,537 ▲1118.40 ▼5.32666.00 ▼2.0583.78 ▲32.90
Media Library /wp-admin/upload.php1,403 ▲34.24 ▲0.0498.90 ▼8.2343.88 ▼3.03

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

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

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
  • Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
You can look at the official readme.txt

chronoflo-calendar-shortcode/chronoflo-calendar-shortcode.php 92% from 13 tests

The main file in "ChronoFlo Calendar ShortCode" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 265 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected48 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1111148

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.26
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
Namespaces0
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%
Constants1
▷ Global constants1100.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
There were not PNG files found in your plugin