90% jonradio-current-year-and-copyright-shortcodes

Code Review | InstallActivateGo.com Copyright Current Date Shortcodes

WordPress plugin InstallActivateGo.com Copyright Current Date Shortcodes scored90%from 54 tests.

About plugin

  • Plugin page: jonradio-current-...
  • Plugin version: 2.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0-6.3.1
  • WordPress version: 6.3.1
  • First release: Jun 25, 2012
  • Latest release: Sep 2, 2023
  • Number of updates: 44
  • Update frequency: every 92.9 days
  • Top authors: adiant (56.82%)dgewirtz (45.45%)

Code review

54 tests

User reviews

13 reviews

Install metrics

9,000+ active /59,258 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▼0.00MB] [CPU: ▼4.98ms] Passed 4 tests

This is a short check of server-side resources used by InstallActivateGo.com Copyright Current Date Shortcodes
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0136.20 ▼1.72
Dashboard /wp-admin3.32 ▼0.0344.13 ▼14.54
Posts /wp-admin/edit.php3.37 ▲0.0146.70 ▼3.14
Add New Post /wp-admin/post-new.php5.90 ▲0.0190.34 ▼0.53
Media Library /wp-admin/upload.php3.24 ▲0.0134.48 ▲1.44

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
db_upgraded
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for InstallActivateGo.com Copyright Current Date Shortcodes
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.33 ▼1.251.70 ▼0.0341.88 ▼9.64
Dashboard /wp-admin2,206 ▲184.88 ▼0.04107.11 ▲5.3140.73 ▼1.54
Posts /wp-admin/edit.php2,089 ▼02.02 ▲0.0339.63 ▼5.9834.49 ▲0.10
Add New Post /wp-admin/post-new.php1,535 ▲1823.25 ▲5.46664.10 ▼6.5156.04 ▼20.17
Media Library /wp-admin/upload.php1,388 ▼34.30 ▲0.1096.27 ▲2.0542.36 ▼0.05

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
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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
The SRP test was a success

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)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 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
5 plugin tags: date, shortcode, year, plugin, copyright

jonradio-current-year-and-copyright-shortcodes/jonradio-current-year-and-copyright-shortcodes.php Passed 13 tests

This is the main PHP file of "InstallActivateGo.com Copyright Current Date Shortcodes" version 2.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
84 characters long description:
Provides Shortcodes to display the Copyright symbol and Current Year, Month and Day.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected41 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1137341

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.35
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%
Functions7
▷ Named functions7100.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
No PNG images were found in this plugin