Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼3.41ms] Passed 4 tests
A check of server-side resources used by Ceceppa Multilingua support to Customizr
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 39.59 ▼9.59 |
Dashboard /wp-admin | 3.39 ▲0.08 | 49.13 ▲0.19 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 49.23 ▼1.94 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 101.17 ▼2.31 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.93 ▲3.67 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Ceceppa Multilingua support to Customizr
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲71 | 13.21 ▼1.36 | 4.69 ▲2.71 | 44.66 ▲2.92 |
Dashboard /wp-admin | 2,220 ▲35 | 5.77 ▼0.09 | 97.36 ▼3.71 | 38.75 ▼4.44 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.06 ▼0.11 | 35.52 ▼6.01 | 34.00 ▼4.82 |
Add New Post /wp-admin/post-new.php | 1,545 ▲9 | 23.18 ▼0.09 | 636.60 ▲28.99 | 54.87 ▲3.89 |
Media Library /wp-admin/upload.php | 1,405 ▲20 | 4.17 ▼0.04 | 95.23 ▼13.64 | 39.96 ▼3.42 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/ceceppa-multilingua-support-for-customizr/class-customizr.php
- > /wp-content/plugins/ceceppa-multilingua-support-for-customizr/cml4customizr.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 24 tag instead of maximum 10
ceceppa-multilingua-support-for-customizr/cml4customizr.php 92% from 13 tests
The main file in "Ceceppa Multilingua support to Customizr" v. 0.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ceceppa-multilingua-support-for-customizr.php" instead of "cml4customizr.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin448 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 134 | 52 | 434 |
CSS | 1 | 3 | 0 | 14 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 37.50 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 3.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 29 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 29 | 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 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin