Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/tunesly/appsdown.php+31
Methods with the same name as their class will not be constructors in a future version of PHP; AppsDown has a deprecated constructor
Server metrics [RAM: ▼0.67MB] [CPU: ▼11.05ms] Passed 4 tests
A check of server-side resources used by Tunesly
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.79 ▼1.47 |
Dashboard /wp-admin | 3.33 ▲0.03 | 56.90 ▲7.09 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 48.67 ▲4.46 |
Add New Post /wp-admin/post-new.php | 3.12 ▼2.77 | 35.90 ▼49.08 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.28 ▲1.88 |
Tunesly /wp-admin/options-general.php?page=appsdown | 3.40 | 36.24 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 46 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Tunesly
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,958 ▲223 | 14.48 ▲0.10 | 7.54 ▲5.74 | 41.31 ▲2.47 |
Dashboard /wp-admin | 2,212 ▲26 | 5.33 ▲0.37 | 104.99 ▼6.81 | 38.16 ▲1.09 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.37 ▲0.33 | 41.28 ▼1.78 | 32.42 ▼4.87 |
Add New Post /wp-admin/post-new.php | 6,477 ▲4,958 | 23.35 ▲0.22 | 887.08 ▲207.82 | 52.71 ▼2.49 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.54 ▲0.29 | 97.90 ▼16.44 | 42.57 ▼4.67 |
Tunesly /wp-admin/options-general.php?page=appsdown | 1,299 | 2.05 | 30.41 | 27.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% 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 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 fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/tunesly/version.php
- 7× PHP files trigger server errors when accessed directly:
- > PHP Notice
Undefined index: action in wp-content/plugins/tunesly/tunesly_search.php on line 10
- > PHP Notice
Undefined index: url in wp-content/plugins/tunesly/request.php on line 15
- > PHP Notice
Undefined index: field in wp-content/plugins/tunesly/tooltips.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/tunesly/widget.php:7
- > PHP Fatal error
Uncaught Error: Class 'AppsDown' not found in wp-content/plugins/tunesly/settings.php:2
- > PHP Notice
Undefined index: action in wp-content/plugins/tunesly/tunesly.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/tunesly/appsdown.php:53
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (Insert iTunes affiliate links in grid format into your blog posts.), #2 (Tunesly iTunes affiliate sidebar widget. Create top ranking lists that automatically update daily in any iTunes content category.), #3 (Tunesly post options allow you to configure how you would like the iTunes links to appear inside your blog post.), #4 (Tunesly Settings allow you to configure the default post and widget configuration. Enter your Linkshare affiliate Web Services Token and add IPInfoDB API Key.)
tunesly/appsdown.php 92% from 13 tests
The main PHP file in "Tunesly" ver. 0.1 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("tunesly.php" instead of "appsdown.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected2,664 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 303 | 447 | 1,234 |
JavaScript | 4 | 186 | 52 | 984 |
CSS | 1 | 69 | 11 | 446 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 43.25 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 110.00 |
Average method complexity | 5.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.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 | 42 | |
▷ Static methods | 1 | 2.38% |
▷ Public methods | 41 | 97.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.38% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
18 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
rightRep.png | 1.11KB | 0.35KB | ▼ 68.13% |
bgSelectRight.png | 0.98KB | 0.27KB | ▼ 72.61% |
repBg.png | 1.28KB | 0.41KB | ▼ 67.76% |
app-store-icon.png | 5.88KB | 2.62KB | ▼ 55.45% |
bgSelectScroll.png | 1.35KB | 0.67KB | ▼ 50.61% |