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.51MB] [CPU: ▲9.80ms] Passed 4 tests
A check of server-side resources used by ICustomizer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.97 ▲0.50 | 48.37 ▲7.72 |
Dashboard /wp-admin | 3.89 ▲0.54 | 67.35 ▲6.46 |
Posts /wp-admin/edit.php | 3.94 ▲0.58 | 57.51 ▲8.82 |
Add New Post /wp-admin/post-new.php | 6.41 ▲0.52 | 104.25 ▲18.74 |
Media Library /wp-admin/upload.php | 3.73 ▲0.50 | 49.61 ▲16.18 |
Credits /wp-admin/admin.php?page=icustomizer-credits | 3.73 | 48.45 |
Dashboard Options /wp-admin/admin.php?page=icustomizer-dashboard | 3.78 | 49.16 |
Custom CSS Site /wp-admin/admin.php?page=icustomizer-customcsssite | 3.73 | 59.17 |
Custom CSS Backend /wp-admin/admin.php?page=icustomizer-customcssbackend | 3.73 | 48.57 |
General Options /wp-admin/admin.php?page=icustomizer-general | 3.74 | 48.77 |
Editor Options /wp-admin/admin.php?page=icustomizer-editor | 3.73 | 47.63 |
ICUSTOMIZER /wp-admin/admin.php?page=icustomizer | 3.74 | 47.77 |
Custom JS Options /wp-admin/admin.php?page=icustomizer-customjs | 3.73 | 48.03 |
Security Options /wp-admin/admin.php?page=icustomizer-security | 3.73 | 47.45 |
Login Options /wp-admin/admin.php?page=icustomizer-login | 3.73 | 44.70 |
Server storage [IO: ▲8.41MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 385 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for ICustomizer
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,995 ▲248 | 14.43 ▲0.11 | 1.93 ▲0.30 | 39.85 ▼3.39 |
Dashboard /wp-admin | 2,395 ▲218 | 6.18 ▲0.52 | 108.04 ▲17.58 | 34.31 ▼8.56 |
Posts /wp-admin/edit.php | 2,322 ▲222 | 3.38 ▲1.44 | 47.07 ▼0.24 | 27.74 ▼8.91 |
Add New Post /wp-admin/post-new.php | 1,579 ▲53 | 25.18 ▲2.05 | 589.89 ▼102.92 | 42.94 ▼23.02 |
Media Library /wp-admin/upload.php | 1,462 ▲59 | 4.09 ▼0.12 | 83.41 ▼23.23 | 41.27 ▼5.18 |
Credits /wp-admin/admin.php?page=icustomizer-credits | 1,226 | 3.13 | 41.75 | 99.94 |
Dashboard Options /wp-admin/admin.php?page=icustomizer-dashboard | 2,070 | 8.96 | 174.38 | 69.55 |
Custom CSS Site /wp-admin/admin.php?page=icustomizer-customcsssite | 1,159 | 4.27 | 68.28 | 65.55 |
Custom CSS Backend /wp-admin/admin.php?page=icustomizer-customcssbackend | 1,154 | 4.27 | 65.21 | 45.13 |
General Options /wp-admin/admin.php?page=icustomizer-general | 1,326 | 3.69 | 46.07 | 33.48 |
Editor Options /wp-admin/admin.php?page=icustomizer-editor | 1,179 | 3.83 | 43.55 | 70.54 |
ICUSTOMIZER /wp-admin/admin.php?page=icustomizer | 1,326 | 3.83 | 49.33 | 39.05 |
Custom JS Options /wp-admin/admin.php?page=icustomizer-customjs | 1,166 | 4.44 | 67.52 | 47.35 |
Security Options /wp-admin/admin.php?page=icustomizer-security | 1,127 | 2.96 | 41.70 | 27.75 |
Login Options /wp-admin/admin.php?page=icustomizer-login | 1,963 | 5.16 | 64.45 | 37.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 17× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/icustomizer/icustomizer-functions.php
- > /wp-content/plugins/icustomizer/core/assets/skeletons/skeleton.php
- > /wp-content/plugins/icustomizer/includes/icustomizer-login.php
- > /wp-content/plugins/icustomizer/includes/icustomizer-customjs.php
- > /wp-content/plugins/icustomizer/core/framework.php
- > /wp-content/plugins/icustomizer/icustomizer-menu.php
- > /wp-content/plugins/icustomizer/includes/icustomizer-security.php
- > /wp-content/plugins/icustomizer/includes/icustomizer-customcsssite.php
- > /wp-content/plugins/icustomizer/core/usage/framework-examples.php
- > /wp-content/plugins/icustomizer/icustomizer-style.php
- 29× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: framework in wp-content/plugins/icustomizer/core/assets/skeletons/addTime.php on line 3
- > PHP Fatal error
Uncaught Error: Call to a member function addNote() on null in wp-content/plugins/icustomizer/core/assets/skeletons/addNote.php:3
- > PHP Notice
Undefined variable: framework in wp-content/plugins/icustomizer/core/assets/skeletons/addEditor.php on line 3
- > PHP Fatal error
Uncaught Error: Call to a member function addInput() on null in wp-content/plugins/icustomizer/core/assets/skeletons/addSubmitButton.php:3
- > PHP Notice
Undefined variable: framework in wp-content/plugins/icustomizer/core/assets/skeletons/addEnabledDisabled.php on line 3
- > PHP Notice
Undefined variable: framework in wp-content/plugins/icustomizer/core/assets/skeletons/addNote.php on line 3
- > PHP Notice
Undefined variable: framework in wp-content/plugins/icustomizer/core/assets/skeletons/addColor.php on line 3
- > PHP Fatal error
Uncaught Error: Call to a member function openSelect() on null in wp-content/plugins/icustomizer/core/assets/skeletons/addSelect.php:5
- > PHP Fatal error
Uncaught Error: Call to a member function addColor() on null in wp-content/plugins/icustomizer/core/assets/skeletons/addColor.php:3
- > PHP Notice
Undefined variable: framework in wp-content/plugins/icustomizer/core/assets/skeletons/addInput.php on line 3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: dashboard, login, admin, security, custom css...
icustomizer/icustomizer.php Passed 13 tests
The main PHP file in "ICustomizer" ver. 1.6.4 adds more information about the plugin and also serves as the entry point for this plugin
78 characters long description:
Sécurité du front et personnalisation de votre administration sous Wordpress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin80,137 lines of code in 261 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 192 | 13,904 | 16,052 | 66,646 |
CSS | 20 | 227 | 252 | 4,117 |
PHP | 34 | 520 | 1,197 | 3,150 |
Markdown | 5 | 660 | 1 | 2,037 |
XML | 2 | 2 | 17 | 1,955 |
HTML | 5 | 287 | 61 | 1,644 |
PO File | 1 | 221 | 417 | 320 |
SQL | 1 | 10 | 18 | 263 |
SVG | 1 | 0 | 1 | 5 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 202.00 |
▷ Minimum class complexity | 202.00 |
▷ Maximum class complexity | 202.00 |
Average method complexity | 4.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 55 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 55 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 46 | |
▷ Named functions | 44 | 95.65% |
▷ Anonymous functions | 2 | 4.35% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
94 PNG files occupy 1.49MB with 0.31MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
core/assets/js/jquery/colorpicker/images/colorpicker_submit.png | 0.97KB | 0.99KB | 0.00% |
core/assets/js/jquery/colorpicker/images/old/colorpicker_background.png | 1.87KB | 2.12KB | 0.00% |
core/assets/js/jquery/theme/1.11.4.custom/images/ui-bg_highlight-hard_70_000000_1x100.png | 0.24KB | 0.16KB | ▼ 35.34% |
images/icustomizer-wp-editor.png | 96.52KB | 32.78KB | ▼ 66.04% |
core/assets/js/jquery/editor/style/jqueryui/ui-lightness/images/ui-icons_ef8c08_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |