Benchmarks
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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 38.29 ▲14.00 |
Dashboard /wp-admin | 3.10 ▲0.04 | 45.29 ▼2.53 |
Posts /wp-admin/edit.php | 3.15 ▲0.04 | 45.25 ▼1.55 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.02 | 94.33 ▼574.81 |
Media Library /wp-admin/upload.php | 3.04 ▲0.04 | 40.38 ▲5.67 |
CDL (IT) /wp-admin/options-general.php?page=change-date-language-it | 3.01 | 31.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 |
---|
giorni_int |
giorni_slug |
mesi_int |
mesi_slug |
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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,708 ▲112 | 15.92 ▲0.42 | 9.75 ▲1.28 | 49.17 ▼3.82 |
Dashboard /wp-admin | 2,975 ▲44 | 5.89 ▼0.05 | 144.37 ▼6.74 | 118.60 ▼5.62 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.69 ▲0.01 | 63.17 ▼13.14 | 82.70 ▼4.30 |
Add New Post /wp-admin/post-new.php | 1,501 ▼171 | 18.89 ▲0.01 | 372.91 ▼5.84 | 107.88 ▼10.31 |
Media Library /wp-admin/upload.php | 1,815 ▲5 | 5.04 ▲0.04 | 153.92 ▲3.36 | 127.50 ▲0.43 |
CDL (IT) /wp-admin/options-general.php?page=change-date-language-it | 1,148 | 2.09 | 59.16 | 78.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
- > PHP Fatal error
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
Optimizations
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 18 | 12 | 75 |
CSS | 1 | 2 | 0 | 8 |
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 code | 0.11 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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