Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.66MB] [CPU: ▼1.65ms] Passed 4 tests
A check of server-side resources used by Quick Adsense
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.41 ▲0.68 | 44.79 ▼0.89 |
Dashboard /wp-admin | 4.29 ▲0.72 | 56.86 ▲5.15 |
Posts /wp-admin/edit.php | 4.34 ▲0.66 | 53.96 ▲0.81 |
Add New Post /wp-admin/post-new.php | 6.80 ▲0.66 | 94.12 ▼11.67 |
Media Library /wp-admin/upload.php | 4.15 ▲0.66 | 45.12 ▲8.63 |
Server storage [IO: ▲11.36MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 378 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
quick_adsense_settings |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Quick Adsense
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,920 ▲159 | 13.49 ▼1.15 | 8.27 ▲6.47 | 44.67 ▲3.21 |
Dashboard /wp-admin | 2,244 ▲64 | 5.63 ▲0.03 | 88.24 ▼1.63 | 39.15 ▼5.07 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 1.99 ▼0.01 | 37.28 ▲0.30 | 33.68 ▼4.05 |
Add New Post /wp-admin/post-new.php | 1,567 ▲35 | 23.49 ▲0.08 | 681.16 ▼10.11 | 61.12 ▲9.40 |
Media Library /wp-admin/upload.php | 1,422 ▲25 | 4.18 ▼0.08 | 101.81 ▲0.87 | 43.49 ▼1.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- quick_adsense_settings
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% 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 take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/quick-adsense/includes/templates/js/script-admin-notice.php
- 32× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function quickadsense_get_control() in wp-content/plugins/quick-adsense/includes/templates/section-header-footer.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_textarea() in wp-content/plugins/quick-adsense/includes/templates/block-stats-chart.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses() in wp-content/plugins/quick-adsense/includes/templates/block-general-assign-position.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quick-adsense/includes/defaults.php:71
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quick-adsense/includes/settings.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses() in wp-content/plugins/quick-adsense/includes/templates/block-general-quicktag.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses() in wp-content/plugins/quick-adsense/includes/templates/block-general-appearance.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses() in wp-content/plugins/quick-adsense/includes/templates/block-general-adsense.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/quick-adsense/includes/templates/page-settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses() in wp-content/plugins/quick-adsense/includes/templates/section-onpost-content.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 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: A description for screenshot #3 is missing in quick-adsense/assets to your readme.txt
- Tags: There are too many tags (18 tag instead of maximum 10)
quick-adsense/quick-adsense.php Passed 13 tests
The primary PHP file in "Quick Adsense" version 2.8.7 is used by WordPress to initiate all plugin functionality
104 characters long description:
Quick Adsense offers a quicker & flexible way to insert Google Adsense or any Ads code into a blog post.
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 plugin255,495 lines of code in 368 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 363 | 277 | 1,020 | 253,890 |
CSS | 3 | 87 | 45 | 1,081 |
JavaScript | 2 | 48 | 11 | 524 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 49.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 134.00 |
Average method complexity | 4.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 77.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 55 | |
▷ Static methods | 9 | 16.36% |
▷ Public methods | 46 | 83.64% |
▷ Protected methods | 2 | 3.64% |
▷ Private methods | 7 | 12.73% |
Functions | 39 | |
▷ Named functions | 17 | 43.59% |
▷ Anonymous functions | 22 | 56.41% |
Constants | 10 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 10 | 100.00% |
▷ Public constants | 10 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.32KB | 0.18KB | ▼ 44.00% |
assets/css/images/ui-icons_454545_256x240.png | 6.92KB | 4.18KB | ▼ 39.61% |
assets/css/images/ui-icons_222222_256x240.png | 6.86KB | 4.18KB | ▼ 39.05% |
assets/css/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.32KB | 0.15KB | ▼ 53.40% |
assets/css/images/ui-bg_glass_75_dadada_1x400.png | 0.32KB | 0.16KB | ▼ 50.46% |