Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▲2.89ms] Passed 4 tests
A check of server-side resources used by month name translation benaceur
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 42.82 ▼1.19 |
Dashboard /wp-admin | 3.44 ▲0.14 | 59.67 ▲12.27 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 55.85 ▲3.62 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 102.85 ▲3.46 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 42.74 ▲5.67 |
Month-Translation-Benaceur /wp-admin/options-general.php?page=month-name-translation-benaceur | 3.49 | 50.21 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 33 new options
New WordPress options |
---|
can_compress_scripts |
monthnametranslationbenaceurtjuil |
month_name_translation_benaceur_Sep |
month_name_translation_benaceur_t_Mar |
month_name_translation_benaceur_Fev |
monthnametranslationbenaceurjuin |
month_name_translation_benaceur_t_Dec |
widget_theysaidso_widget |
month_name_translation_benaceur_Avr |
month_name_translation_benaceur_Oct |
... |
Browser metrics Passed 4 tests
A check of browser resources used by month name translation benaceur
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 14.43 ▲0.07 | 1.85 ▲0.29 | 38.20 ▼5.61 |
Dashboard /wp-admin | 2,225 ▲19 | 4.87 ▼0.04 | 107.12 ▲0.76 | 42.47 ▲1.36 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▼0.02 | 40.36 ▼3.38 | 36.37 ▼1.97 |
Add New Post /wp-admin/post-new.php | 1,550 ▲24 | 23.48 ▲5.94 | 634.07 ▼50.37 | 47.16 ▼6.11 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.19 ▲0.00 | 101.69 ▲0.07 | 43.85 ▼3.02 |
Month-Translation-Benaceur /wp-admin/options-general.php?page=month-name-translation-benaceur | 2,078 | 1.73 | 25.59 | 75.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 33 options in the database
- month_name_translation_benaceur_Nov
- monthnametranslationbenaceurtjuil
- monthnametranslationbenaceurjuil
- month_name_translation_benaceur_t_Mai
- theysaidso_admin_options
- month_name_translation_benaceur_t_jan
- month_name_translation_benaceur_t_Nov
- db_upgraded
- month_name_translation_benaceur_abbrev_month
- month_name_translation_benaceur_t_Aou
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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 fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/month-name-translation-benaceur/month-name-translation-benaceur.php on line 16
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
9 plugin tags: change name month, change name of month, months names, name month, translation name of the month...
month-name-translation-benaceur/month-name-translation-benaceur.php Passed 13 tests
The primary PHP file in "month name translation benaceur" version 2.3.7 is used by WordPress to initiate all plugin functionality
72 characters long description:
This plugin allows you to edit and translate the names of the months ...
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 detected1,427 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 148 | 18 | 1,083 |
CSS | 1 | 23 | 1 | 254 |
PO File | 1 | 25 | 26 | 87 |
JavaScript | 1 | 0 | 2 | 3 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 35.00 |
▷ Minimum class complexity | 34.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 2.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 37 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/benaceur.png | 3.63KB | 2.53KB | ▼ 30.11% |