Benchmarks
Plugin footprint 75% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/multilang-comment/multilang-comment.php+14
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.02MB] [CPU: ▼143.45ms] Passed 4 tests
Analyzing server-side resources used by Multilang Comment
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.02 | 35.96 ▲1.51 |
Dashboard /wp-admin | 3.08 ▲0.03 | 45.57 ▼0.41 |
Posts /wp-admin/edit.php | 3.13 ▲0.03 | 46.73 ▲1.12 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 91.82 ▼575.17 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 33.39 ▲0.65 |
multilang Comment /wp-admin/options-general.php?page=multilang-comment/multilang-comment.php | 3.00 | 29.45 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 1 new option
New WordPress options |
---|
brtcmt_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Multilang Comment
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 15.79 ▲0.18 | 9.43 ▼0.83 | 45.18 ▼4.64 |
Dashboard /wp-admin | 2,981 ▲47 | 6.11 ▲0.18 | 141.76 ▼24.79 | 107.48 ▲1.33 |
Posts /wp-admin/edit.php | 2,744 ▲8 | 2.72 ▲0.01 | 69.45 ▲6.06 | 90.18 ▲0.97 |
Add New Post /wp-admin/post-new.php | 1,692 ▲77 | 18.72 ▼2.70 | 430.81 ▲125.38 | 109.74 ▲4.48 |
Media Library /wp-admin/upload.php | 1,818 ▲8 | 5.02 ▼0.01 | 155.68 ▲0.26 | 109.67 ▼8.87 |
multilang Comment /wp-admin/options-general.php?page=multilang-comment/multilang-comment.php | 1,102 | 2.09 | 60.63 | 90.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means 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 server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/multilang-comment/multilang-comment.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% 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
These attributes need your attention:
- Screenshots: Add a description for screenshot #2 in multilang-comment/assets to your readme.txt
multilang-comment/multilang-comment.php Passed 13 tests
The main PHP script in "Multilang Comment" version 1.1 is automatically included on every request by WordPress
53 characters long description:
Plugin provide functionality for comment in multilang
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin121 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 27 | 18 | 104 |
JavaScript | 1 | 5 | 2 | 17 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 11 | |
▷ Named functions | 11 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected