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.04MB] [CPU: ▼3.18ms] Passed 4 tests
Server-side resources used by Uptodown APK Download Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 37.60 ▼0.37 |
Dashboard /wp-admin | 3.35 ▲0.04 | 43.54 ▼2.85 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 46.14 ▼5.35 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 88.89 ▼3.14 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 32.07 ▼1.36 |
Uptodown Widget /wp-admin/options-general.php?page=uptodown-widget-settings | 3.23 | 29.45 |
Server storage [IO: ▲0.50MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
utd_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Uptodown APK Download Widget
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,924 ▲189 | 13.69 ▼0.66 | 8.98 ▲7.46 | 37.43 ▼1.42 |
Dashboard /wp-admin | 2,213 ▲31 | 4.86 ▼0.98 | 104.96 ▼0.35 | 38.65 ▼5.77 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.00 ▼0.18 | 40.93 ▼0.66 | 35.45 ▼1.85 |
Add New Post /wp-admin/post-new.php | 1,550 ▲8 | 18.21 ▼0.24 | 589.56 ▼65.01 | 52.15 ▼6.31 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.17 ▼0.05 | 94.56 ▼7.26 | 42.16 ▼1.03 |
Uptodown Widget /wp-admin/options-general.php?page=uptodown-widget-settings | 779 | 2.18 | 25.67 | 26.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- utd_widget
- theysaidso_admin_options
- widget_recent-comments
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
Everything seems fine, however 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
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/uptodown-apk-download-widget/uptodown_wp_widget.php:225
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Result of your widget on a mobile screen screenshot-1.png), #2 (An example of your Uptodown WP Widget on Desktop screenshot-2.jpg)
uptodown-apk-download-widget/uptodown_wp_widget.php 92% from 13 tests
"Uptodown APK Download Widget" version 0.1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("uptodown-apk-download-widget.php" instead of "uptodown_wp_widget.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin1,490 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 218 | 263 | 1,471 |
SVG | 1 | 1 | 0 | 19 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 87.25 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 197.00 |
Average method complexity | 4.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 99 | |
▷ Static methods | 1 | 1.01% |
▷ Public methods | 83 | 83.84% |
▷ Protected methods | 16 | 16.16% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 21 | |
▷ Global constants | 21 | 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
3 PNG files occupy 0.20MB with 0.10MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 199.86KB | 65.77KB | ▼ 67.09% |
assets/icon-128x128.png | 3.28KB | 1.86KB | ▼ 43.16% |
assets/icon-256x256.png | 4.83KB | 3.14KB | ▼ 35.12% |