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.01MB] [CPU: ▼3.71ms] Passed 4 tests
This is a short check of server-side resources used by W2Q: WPML to qTranslate
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.15 ▼5.92 |
Dashboard /wp-admin | 3.31 ▲0.01 | 52.30 ▲1.07 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 52.69 ▲4.98 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 97.06 ▼7.92 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.52 ▼2.08 |
W2Q: WPML to qTranslate /wp-admin/options-general.php?page=w2q-wpml-to-qtranslate | 3.19 | 36.07 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for W2Q: WPML to qTranslate
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.61 ▼0.78 | 1.96 ▲0.22 | 41.31 ▼3.33 |
Dashboard /wp-admin | 2,210 ▲19 | 5.90 ▼0.04 | 107.13 ▲5.56 | 39.61 ▼5.16 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.03 | 40.58 ▲4.22 | 34.97 ▲2.65 |
Add New Post /wp-admin/post-new.php | 1,537 ▲18 | 23.13 ▼0.10 | 674.75 ▲40.83 | 53.40 ▼14.32 |
Media Library /wp-admin/upload.php | 1,386 ▲4 | 4.18 ▲0.03 | 101.98 ▲2.71 | 46.14 ▲4.37 |
W2Q: WPML to qTranslate /wp-admin/options-general.php?page=w2q-wpml-to-qtranslate | 891 | 2.02 | 25.75 | 78.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Plugin Name: Please specify the plugin name on the first line (
=== w2q-wpml-to-qtranslate ===
)
w2q-wpml-to-qtranslate/w2q-wpml-to-qtranslate.php Passed 13 tests
The principal PHP file in "W2Q: WPML to qTranslate" v. 0.9.3 is loaded by WordPress automatically on each request
72 characters long description:
Migrate WPML translations to qTranslate. Goodbye WPML, hello qTranslate.
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
There were no executable files found in this plugin423 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 123 | 91 | 376 |
JavaScript | 1 | 26 | 32 | 47 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 31.50 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 30 | |
▷ Static methods | 5 | 16.67% |
▷ Public methods | 30 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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 images were found in this plugin