84% change-date-language-italian-people

Code Review | Change Date Language (Italian people)

WordPress plugin Change Date Language (Italian people) scored 84% from 54 tests.

About plugin

  • Plugin page: change-date-langu...
  • Plugin version: 0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-3.8
  • WordPress version: 5.8.1
  • First release: Oct 7, 2013
  • Latest release: Dec 14, 2013
  • Number of updates: 18
  • Update frequency: every 3.8 days
  • Top authors: FoN22 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,040 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices

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

An overview of server-side resources used by Change Date Language (Italian people)
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.87 ▲0.1538.29 ▲14.00
Dashboard /wp-admin3.10 ▲0.0445.29 ▼2.53
Posts /wp-admin/edit.php3.15 ▲0.0445.25 ▼1.55
Add New Post /wp-admin/post-new.php5.45 ▲0.0294.33 ▼574.81
Media Library /wp-admin/upload.php3.04 ▲0.0440.38 ▲5.67
CDL (IT) /wp-admin/options-general.php?page=change-date-language-it3.0131.13

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 4 new options
New WordPress options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Change Date Language (Italian people)
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,708 ▲11215.92 ▲0.429.75 ▲1.2849.17 ▼3.82
Dashboard /wp-admin2,975 ▲445.89 ▼0.05144.37 ▼6.74118.60 ▼5.62
Posts /wp-admin/edit.php2,744 ▲52.69 ▲0.0163.17 ▼13.1482.70 ▼4.30
Add New Post /wp-admin/post-new.php1,501 ▼17118.89 ▲0.01372.91 ▼5.84107.88 ▼10.31
Media Library /wp-admin/upload.php1,815 ▲55.04 ▲0.04153.92 ▲3.36127.50 ▲0.43
CDL (IT) /wp-admin/options-general.php?page=change-date-language-it1,1482.0959.1678.25

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 4 options
    • mesi_int
    • mesi_slug
    • giorni_int
    • giorni_slug

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/change-date-language-italian-people/change-date-language-it.php:19

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)
There were no browser issues found


Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: date translation, time, translation, time and date, local language...

change-date-language-italian-people/change-date-language-it.php 85% from 13 tests

The primary PHP file in "Change Date Language (Italian people)" version 0.2 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Description: Keep the plugin description shorter than 140 characters (currently 505 characters long)
  • Main file name: The principal plugin file should be the same as the plugin slug ("change-date-language-italian-people.php" instead of "change-date-language-it.php")

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
Success! There were no dangerous files found in this plugin83 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.11
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions5100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin