Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼7.66ms] Passed 4 tests
Server-side resources used by TechGasp Ads Master
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 45.64 ▼14.85 |
Dashboard /wp-admin | 3.41 ▲0.10 | 49.98 ▼11.48 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 50.66 ▼0.84 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 100.87 ▼3.45 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 43.92 ▲5.85 |
Add-ons /wp-admin/admin.php?page=google-ads-master-admin-addons | 3.32 | 35.16 |
Ads Master /wp-admin/admin.php?page=google-ads-master | 3.32 | 35.51 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_google_ads_master_widget_ads |
widget_recent-comments |
widget_google_ads_master_widget_viral |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for TechGasp Ads Master
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 14.28 ▼0.07 | 1.64 ▼0.81 | 41.27 ▼18.88 |
Dashboard /wp-admin | 2,206 ▲29 | 5.65 ▼0.01 | 113.20 ▲11.02 | 79.58 ▲35.91 |
Posts /wp-admin/edit.php | 2,132 ▲32 | 2.11 ▲0.07 | 38.66 ▼0.16 | 34.03 ▼1.74 |
Add New Post /wp-admin/post-new.php | 1,711 ▲180 | 24.35 ▲1.63 | 716.82 ▲33.14 | 58.99 ▲9.56 |
Media Library /wp-admin/upload.php | 1,423 ▲26 | 4.17 ▼0.06 | 116.46 ▲10.33 | 77.73 ▲31.90 |
Add-ons /wp-admin/admin.php?page=google-ads-master-admin-addons | 991 | 2.03 | 28.05 | 31.87 |
Ads Master /wp-admin/admin.php?page=google-ads-master | 1,778 | 7.60 | 193.16 | 100.86 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- can_compress_scripts
- widget_google_ads_master_widget_viral
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_google_ads_master_widget_ads
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 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
Almost there! Just fix the following items
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/google-ads-master/includes/google-ads-master-admin.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/google-ads-master/includes/google-ads-master-widget-viral.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/google-ads-master/includes/google-ads-master-admin-table-header.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/google-ads-master/google-ads-master.php:53
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/google-ads-master/includes/google-ads-master-admin-addons.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/google-ads-master/includes/google-ads-master-admin-addons-table.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/google-ads-master/includes/google-ads-master-admin-table-news.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/google-ads-master/includes/google-ads-master-widget-ads.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=google-ads-master
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/admin.php?page=google-ads-master
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
- > GET request to /wp-admin/admin.php?page=google-ads-master
- > Deprecation (warning) in unknown
https://static.xx.fbcdn.net/rsrc.php/v3/yD/r/CxzjCMQABR5.js?_nc_x=Ij3Wp8lg5Kz 271 Listener added for a synchronous 'DOMSubtreeModified' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
- > GET request to /wp-admin/admin.php?page=google-ads-master
- > Console-api (severe) in unknown
https://static.xx.fbcdn.net/rsrc.php/v3/yD/r/CxzjCMQABR5.js?_nc_x=Ij3Wp8lg5Kz 60:573 "ErrorUtils caught an error:\n\nCannot listen to an undefined element. [Caught in: Tried to listen to element of type click]\n\nSubsequent non-fatal errors won't be logged; see https://fburl.com/debugjs."
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
google-ads-master/google-ads-master.php Passed 13 tests
The primary PHP file in "TechGasp Ads Master" version 5.1.4 is used by WordPress to initiate all plugin functionality
118 characters long description:
TechGasp Ads Master for wordpress is the professional plugin you need to generate google ads income with your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin576 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 35 | 72 | 576 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 3.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 2 | 15.38% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
9 PNG files occupy 0.28MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/techgasp-check-no.png | 21.14KB | 7.14KB | ▼ 66.23% |
images/techgasp-admin-addons-support.png | 15.84KB | 14.85KB | ▼ 6.26% |
images/techgasp-admin-addons-widgets.png | 17.08KB | 16.02KB | ▼ 6.22% |
images/techgasp-admin-addons-shortcodes.png | 21.28KB | 20.24KB | ▼ 4.91% |
images/techgasp-check-yes.png | 22.22KB | 7.59KB | ▼ 65.83% |