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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.17ms] Passed 4 tests
Server-side resources used by WPML to Polylang
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.54 ▼5.29 |
Dashboard /wp-admin | 3.34 ▲0.03 | 44.97 ▼3.36 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 46.15 ▼2.40 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 89.64 ▲4.48 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.03 ▲2.39 |
WPML importer /wp-admin/tools.php?page=wpml-importer | 3.23 | 30.85 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WPML to Polylang
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.60 ▼1.02 | 1.76 ▼0.01 | 40.57 ▼9.80 |
Dashboard /wp-admin | 2,210 ▲22 | 4.85 ▼0.05 | 99.75 ▼20.14 | 37.71 ▼4.39 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.03 ▲0.01 | 39.73 ▲5.00 | 35.04 ▲2.06 |
Add New Post /wp-admin/post-new.php | 1,545 ▲17 | 18.65 ▲0.34 | 630.78 ▲12.19 | 55.27 ▲6.95 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.20 ▼0.01 | 96.20 ▼1.11 | 39.36 ▼5.22 |
WPML importer /wp-admin/tools.php?page=wpml-importer | 794 | 2.09 | 23.74 | 25.53 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: multilingual, bilingual, wpml, importer, polylang
wpml-to-polylang/wpml-to-polylang.php 92% from 13 tests
The principal PHP file in "WPML to Polylang" v. 0.6 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected1,599 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 358 | 960 | 1,505 |
JavaScript | 1 | 10 | 15 | 53 |
JSON | 2 | 0 | 0 | 41 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 12.31 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 3 | 18.75% |
▷ Concrete classes | 13 | 81.25% |
▷ Final classes | 0 | 0.00% |
Methods | 102 | |
▷ Static methods | 17 | 16.67% |
▷ Public methods | 54 | 52.94% |
▷ Protected methods | 46 | 45.10% |
▷ Private methods | 2 | 1.96% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
There were not PNG files found in your plugin