Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼8.19ms] Passed 4 tests
An overview of server-side resources used by iOS Smart App Banner For Safari
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 46.37 ▲1.09 |
Dashboard /wp-admin | 3.33 ▼0.01 | 56.48 ▼10.31 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 46.06 ▼3.68 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 86.79 ▼15.20 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 34.97 ▼3.55 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for iOS Smart App Banner For Safari
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲44 | 14.72 ▲0.77 | 2.18 ▼0.15 | 43.30 ▲0.20 |
Dashboard /wp-admin | 2,195 ▲21 | 5.59 ▼0.07 | 84.20 ▼14.50 | 41.14 ▼7.01 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.98 ▼0.01 | 37.44 ▼0.95 | 35.67 ▼0.19 |
Add New Post /wp-admin/post-new.php | 6,263 ▲4,737 | 18.71 ▼4.53 | 949.35 ▲294.14 | 65.35 ▲20.98 |
Media Library /wp-admin/upload.php | 1,403 ▲9 | 4.16 ▼0.06 | 96.76 ▼0.52 | 44.36 ▼0.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/ios-smart-app-banner-for-safari/ios-smart-app-banner-for-safari.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 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
These attributes need your attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== ios-smart-app-banner-for-safari ===
) - Tags: You are using too many tags: 14 tag instead of maximum 10
ios-smart-app-banner-for-safari/ios-smart-app-banner-for-safari.php Passed 13 tests
The principal PHP file in "iOS Smart App Banner For Safari" v. 1.0 is loaded by WordPress automatically on each request
99 characters long description:
Plugin for adding an iOS Smart App Banner to the top of selected pages for iOS mobile safari users.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected133 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 58 | 73 | 133 |
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 | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin