Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼10.21ms] Passed 4 tests
An overview of server-side resources used by Jetpack Mobile Theme Floating Ad
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 34.18 ▼4.99 |
Dashboard /wp-admin | 3.35 ▲0.05 | 44.18 ▼5.49 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 49.05 ▲1.45 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 83.17 ▼29.94 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.96 ▼0.42 |
Jetpack Mobile Floating Ad /wp-admin/options-general.php?page=jp_floating_ad | 3.21 | 29.65 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Jetpack Mobile Theme Floating Ad
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.81 ▲0.58 | 1.67 ▼0.07 | 42.02 ▲2.04 |
Dashboard /wp-admin | 2,210 ▲19 | 5.90 ▲1.04 | 107.16 ▼1.16 | 40.59 ▼3.67 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.01 ▼0.03 | 40.08 ▼2.76 | 37.75 ▲3.05 |
Add New Post /wp-admin/post-new.php | 1,522 ▼17 | 23.27 ▲0.05 | 677.48 ▲31.76 | 58.04 ▼0.62 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.22 ▲0.06 | 97.57 ▼2.92 | 43.58 ▼0.79 |
Jetpack Mobile Floating Ad /wp-admin/options-general.php?page=jp_floating_ad | 928 | 2.08 | 25.04 | 28.57 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=jp_floating_ad
- > Notice in wp-content/plugins/jetpack-mobile-theme-floating-ad/jetpack-mobile-theme-floating-ad.php+212
Undefined index: google_ad_client
- > GET request to /wp-admin/options-general.php?page=jp_floating_ad
- > Notice in wp-content/plugins/jetpack-mobile-theme-floating-ad/jetpack-mobile-theme-floating-ad.php+215
Undefined index: google_ad_slot
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/jetpack-mobile-theme-floating-ad/jetpack-mobile-theme-floating-ad.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: advertising, responsive, adsense, ads, jetpack...
jetpack-mobile-theme-floating-ad/jetpack-mobile-theme-floating-ad.php 92% from 13 tests
This is the main PHP file of "Jetpack Mobile Theme Floating Ad" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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 plugin183 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 50 | 57 | 183 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 3.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 10 | |
▷ Static methods | 1 | 10.00% |
▷ Public methods | 8 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 20.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin