Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼8.42ms] Passed 4 tests
This is a short check of server-side resources used by Conversions Extensions
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.93 ▲0.20 | 46.51 ▲4.42 |
Dashboard /wp-admin | 3.78 ▲0.14 | 52.89 ▼12.87 |
Posts /wp-admin/edit.php | 3.83 ▲0.15 | 57.51 ▲5.41 |
Add New Post /wp-admin/post-new.php | 6.30 ▲0.15 | 88.89 ▼24.70 |
Media Library /wp-admin/upload.php | 3.64 ▲0.15 | 38.38 ▼0.52 |
Server storage [IO: ▲5.73MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 178 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Conversions Extensions
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.41 ▲0.03 | 1.77 ▼0.14 | 44.97 ▲3.54 |
Dashboard /wp-admin | 2,198 ▲20 | 5.67 ▼0.03 | 94.61 ▼14.07 | 42.30 ▼0.83 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.04 ▲0.01 | 39.76 ▲0.41 | 38.29 ▲0.51 |
Add New Post /wp-admin/post-new.php | 1,545 ▲19 | 23.11 ▲5.56 | 653.77 ▼49.22 | 61.52 ▲4.85 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.20 ▼0.05 | 95.35 ▼10.58 | 44.72 ▲0.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 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
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/conversions-extensions/vendor/awesomemotive/one-click-demo-import/one-click-demo-import.php
- 60× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'AwesomeMotive\\WPContentImporter2\\WPImporterLogger' not found in wp-content/plugins/conversions-extensions/vendor/awesomemotive/wp-content-importer-v2/src/WPImporterLoggerCLI.php:4
- > PHP Fatal error
Uncaught Error: Call to a member function add_section() on null in wp-content/plugins/conversions-extensions/homepage/customizer/homepage.icon-features.php:8
- > PHP Fatal error
Uncaught Error: Call to a member function add_section() on null in wp-content/plugins/conversions-extensions/homepage/customizer/homepage.team.php:9
- > PHP Notice
Undefined variable: wp_customize in wp-content/plugins/conversions-extensions/social/social-customizer.php on line 8
- > PHP Fatal error
Uncaught Error: Class 'AwesomeMotive\\WPContentImporter2\\WXRImporter' not found in wp-content/plugins/conversions-extensions/vendor/awesomemotive/wp-content-importer-v2/src/Importer.php:10
- > PHP Notice
Undefined variable: wp_customize in wp-content/plugins/conversions-extensions/homepage/customizer/homepage.team.php on line 9
- > PHP Notice
Undefined variable: wp_customize in wp-content/plugins/conversions-extensions/homepage/customizer/homepage.map.php on line 9
- > PHP Fatal error
Uncaught Error: Call to a member function add_section() on null in wp-content/plugins/conversions-extensions/homepage/customizer/homepage.single-feature.php:9
- > PHP Notice
Undefined variable: wp_customize in wp-content/plugins/conversions-extensions/homepage/customizer/homepage.icon-features.php on line 8
- > PHP Notice
Undefined variable: wp_customize in wp-content/plugins/conversions-extensions/homepage/customizer/homepage.counter.php on line 8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
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
5 plugin tags: homepage, extensions, shortcodes, theme demos, social icons
conversions-extensions/conversions-extensions.php 92% from 13 tests
"Conversions Extensions" version 2.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected118,646 lines of code in 152 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 7 | 0 | 0 | 92,520 |
PHP | 84 | 2,038 | 3,815 | 12,265 |
JavaScript | 12 | 1,348 | 620 | 4,528 |
CSS | 8 | 312 | 33 | 3,603 |
XML | 4 | 232 | 372 | 3,332 |
Sass | 9 | 81 | 34 | 1,054 |
SVG | 21 | 1 | 19 | 688 |
Markdown | 3 | 253 | 0 | 477 |
Bourne Shell | 4 | 36 | 22 | 179 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 22.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 290.00 |
Average method complexity | 4.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 14 | |
Interfaces | 0 | |
Traits | 18 | |
Classes | 37 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 37 | 100.00% |
▷ Final classes | 1 | 2.70% |
Methods | 347 | |
▷ Static methods | 60 | 17.29% |
▷ Public methods | 274 | 78.96% |
▷ Protected methods | 39 | 11.24% |
▷ Private methods | 34 | 9.80% |
Functions | 10 | |
▷ Named functions | 7 | 70.00% |
▷ Anonymous functions | 3 | 30.00% |
Constants | 6 | |
▷ Global constants | 4 | 66.67% |
▷ Class constants | 2 | 33.33% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 compressed PNG files occupy 0.22MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
gallery/images/close.png | 0.27KB | 0.29KB | 0.00% |
gallery/images/next.png | 1.32KB | 1.58KB | 0.00% |
ocdi/demos/blog-preview.png | 61.53KB | 61.53KB | 0.00% |
gallery/images/prev.png | 1.33KB | 1.59KB | 0.00% |
ocdi/demos/business-preview.png | 161.96KB | 61.36KB | ▼ 62.11% |