Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.93MB] [CPU: ▼3.66ms] Passed 4 tests
This is a short check of server-side resources used by Convertiser Widgets
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.30 ▲0.84 | 45.16 ▼5.56 |
Dashboard /wp-admin | 4.27 ▲0.96 | 53.34 ▲5.66 |
Posts /wp-admin/edit.php | 4.32 ▲0.96 | 56.51 ▼3.31 |
Add New Post /wp-admin/post-new.php | 6.87 ▲0.98 | 91.24 ▼11.41 |
Media Library /wp-admin/upload.php | 4.19 ▲0.96 | 54.61 ▲20.95 |
Convertiser Widgets /wp-admin/options-general.php?page=convertiser-widgets-settings | 4.19 | 44.26 |
Server storage [IO: ▲2.44MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 342 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
convertiser_widgets_version |
widget_theysaidso_widget |
convertiser_widgets |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Convertiser Widgets
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲35 | 13.30 ▼1.28 | 4.27 ▲2.16 | 39.22 ▼4.81 |
Dashboard /wp-admin | 2,212 ▲21 | 5.05 ▼0.84 | 104.74 ▲3.12 | 38.87 ▼5.70 |
Posts /wp-admin/edit.php | 2,098 ▲6 | 1.99 ▼0.04 | 38.94 ▼5.17 | 34.25 ▼6.89 |
Add New Post /wp-admin/post-new.php | 1,519 ▼0 | 17.65 ▼5.57 | 675.63 ▲0.41 | 52.61 ▼3.98 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.25 ▲0.14 | 109.70 ▼5.91 | 57.39 ▲8.52 |
Convertiser Widgets /wp-admin/options-general.php?page=convertiser-widgets-settings | 1,741 | 1.84 | 26.77 | 27.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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 following issues need your attention
- 30× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Convertiser\\Widgets\\AbstractProvider' not found in wp-content/plugins/convertiser-widgets/includes/Provider/Menu.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/convertiser-widgets/includes/Provider/Notices/wordpress_version.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function Convertiser\\Widgets\\Provider\\Widgets\\get_analytics_non_interactive_event() in wp-content/plugins/convertiser-widgets/templates/payday-offers/stacked.php:15
- > PHP Fatal error
Uncaught Error: Class 'Convertiser\\Widgets\\AbstractProvider' not found in wp-content/plugins/convertiser-widgets/includes/Provider/Settings.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function Convertiser\\Widgets\\Provider\\Widgets\\get_analytics_non_interactive_event() in wp-content/plugins/convertiser-widgets/templates/payday-offers/columns.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/convertiser-widgets/includes/Provider/Help/comparison-widget.php:1
- > PHP Fatal error
Uncaught Error: Class 'Convertiser\\Widgets\\Provider\\Settings\\Page' not found in wp-content/plugins/convertiser-widgets/includes/Provider/Settings/General.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function Convertiser\\Widgets\\Provider\\Widgets\\get_analytics_non_interactive_event() in wp-content/plugins/convertiser-widgets/templates/payday-offers/list.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses() in wp-content/plugins/convertiser-widgets/includes/Provider/Notices/fixed_shortcake_ui.php:3
- > PHP Fatal error
Uncaught Error: Class 'Convertiser\\Widgets\\AbstractPlugin' not found in wp-content/plugins/convertiser-widgets/includes/Plugin.php:10
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=convertiser-widgets-settings
- > Javascript (severe) in unknown
/wp-content/plugins/convertiser-widgets/assets/js/bootstrap/bootstrap-prefixed.min.js?ver=1.3.1 5:215 Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3
- > GET request to /wp-admin/options-general.php?page=convertiser-widgets-settings
- > Javascript (severe) in unknown
/wp-content/plugins/convertiser-widgets/assets/js/general.min.js?ver=1.3.1 0:58 Uncaught TypeError: jQuery(...).tooltip is not a function
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Add an image for screenshot #1 (Setup)
convertiser-widgets/convertiser-widgets.php Passed 13 tests
The entry point to "Convertiser Widgets" version 1.3.1 is a PHP file that has certain tags in its header comment area
64 characters long description:
Greatly simplifies Convertiser Widgets usage at WordPress sites.
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
No dangerous file extensions were detected34,288 lines of code in 312 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 128 | 6,579 | 5,132 | 22,497 |
PHP | 55 | 1,137 | 2,362 | 5,992 |
Sass | 82 | 570 | 785 | 2,429 |
CSS | 10 | 153 | 90 | 1,542 |
Markdown | 18 | 327 | 0 | 720 |
HTML | 3 | 69 | 5 | 501 |
PO File | 1 | 88 | 91 | 221 |
JSON | 8 | 0 | 0 | 182 |
LESS | 1 | 11 | 5 | 152 |
SVG | 2 | 1 | 0 | 24 |
YAML | 1 | 0 | 0 | 10 |
Ruby | 1 | 2 | 0 | 8 |
TypeScript | 1 | 1 | 0 | 5 |
make | 1 | 3 | 0 | 5 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 17.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 93.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 2 | |
Traits | 1 | |
Classes | 29 | |
▷ Abstract classes | 3 | 10.34% |
▷ Concrete classes | 26 | 89.66% |
▷ Final classes | 0 | 0.00% |
Methods | 297 | |
▷ Static methods | 63 | 21.21% |
▷ Public methods | 288 | 96.97% |
▷ Protected methods | 5 | 1.68% |
▷ Private methods | 4 | 1.35% |
Functions | 64 | |
▷ Named functions | 24 | 37.50% |
▷ Anonymous functions | 40 | 62.50% |
Constants | 12 | |
▷ Global constants | 12 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/help.png | 0.30KB | 0.32KB | 0.00% |