Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.46ms] Passed 4 tests
A check of server-side resources used by Conversions Popup Widget
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.96 ▲4.07 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.08 ▼4.48 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.30 ▼0.79 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 81.50 ▼5.56 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.11 ▼3.01 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_conversions_popup_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Conversions Popup Widget
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,895 ▲134 | 13.46 ▼0.92 | 8.92 ▲7.36 | 43.37 ▲1.25 |
Dashboard /wp-admin | 2,192 ▲15 | 5.52 ▼0.15 | 82.10 ▼3.85 | 38.34 ▼2.28 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▲0.01 | 34.75 ▼3.05 | 33.78 ▼5.27 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.51 ▲0.01 | 676.23 ▼35.29 | 53.19 ▼16.37 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.17 ▼0.02 | 98.66 ▲3.15 | 44.85 ▼1.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_conversions_popup_widget
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/conversions-popup-widget/conversions-popup-widget.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: google spreadsheet, marketing, conversions, popup, popup widget...
conversions-popup-widget/conversions-popup-widget.php Passed 13 tests
The main PHP file in "Conversions Popup Widget" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
84 characters long description:
This plugin adds a popup with the last conversions loaded from a Google Spreadsheet.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin349 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 44 | 39 | 277 |
CSS | 1 | 10 | 6 | 51 |
JavaScript | 1 | 1 | 9 | 21 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 33.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 6.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin