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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.27ms] Passed 4 tests
An overview of server-side resources used by MC4WP: WPML Integration
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.25 ▲1.34 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.60 ▼2.57 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.27 ▲5.83 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 80.76 ▼13.28 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.87 ▲1.43 |
Server storage [IO: ▲0.03MB] [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: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for MC4WP: WPML Integration
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.53 ▼0.77 | 4.60 ▲2.92 | 44.97 ▲1.61 |
Dashboard /wp-admin | 2,203 ▲12 | 5.78 ▲0.89 | 95.46 ▼5.85 | 38.31 ▼6.13 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.04 | 35.22 ▲0.45 | 33.98 ▼1.79 |
Add New Post /wp-admin/post-new.php | 1,514 ▼0 | 17.46 ▼0.17 | 640.21 ▼28.18 | 69.04 ▲16.60 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.32 ▲0.10 | 94.96 ▼8.97 | 42.30 ▼7.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mc4wp-wpml/mc4wp-wpml.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/mc4wp-wpml/includes/admin-hooks.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/mc4wp-wpml/includes/views/settings-page.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/mc4wp-wpml/includes/hooks.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: mailchimp, wpml, mc4wp
mc4wp-wpml/mc4wp-wpml.php 92% from 13 tests
The main file in "MC4WP: WPML Integration" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin128 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 29 | 33 | 128 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 9 | |
▷ Named functions | 4 | 44.44% |
▷ Anonymous functions | 5 | 55.56% |
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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin