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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.84ms] Passed 4 tests
Server-side resources used by iTunes Link Engine
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.12 ▲0.04 |
Dashboard /wp-admin | 3.32 ▼0.02 | 50.66 ▼11.72 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.86 ▼7.50 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 98.65 ▼19.40 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.69 ▼0.74 |
iTunes Link Engine /wp-admin/options-general.php?page=itunes-link-engine | 3.33 | 34.76 |
Server storage [IO: ▲1.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 16 new options
New WordPress options |
---|
genius_ile_dismiss_feedback |
can_compress_scripts |
genius_ile_api_secret |
genius_ile_install_date |
genius_ile_domain |
theysaidso_admin_options |
genius_ile_db_version |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for iTunes Link Engine
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,918 ▲157 | 13.55 ▼1.07 | 10.50 ▲8.91 | 41.92 ▲1.73 |
Dashboard /wp-admin | 2,218 ▲38 | 5.57 ▼0.08 | 92.60 ▲3.01 | 41.96 ▲1.38 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.94 ▼0.02 | 34.95 ▼2.52 | 33.78 ▼0.99 |
Add New Post /wp-admin/post-new.php | 1,529 ▼5 | 23.64 ▲5.52 | 686.53 ▲41.64 | 55.40 ▼8.58 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.18 ▲0.04 | 96.01 ▼2.01 | 46.97 ▼0.35 |
iTunes Link Engine /wp-admin/options-general.php?page=itunes-link-engine | 1,293 | 2.02 | 27.69 | 45.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- genius_ile_install_date
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/itunes-link-engine/itunes-link-engine.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/itunes-link-engine/options.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Add an image for screenshot #1 (**The Results:** Each user gets sent to the correct item in their local store. This is an example of a user from the United States clicking your link. They’re sent to [iTunes US](https://itunes.apple.com/us/album/id46846?i=46803) with your affiliate token attached.)
- Tags: You are using too many tags: 13 tag instead of maximum 10
itunes-link-engine/itunes-link-engine.php Passed 13 tests
"iTunes Link Engine" version 1.4.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
114 characters long description:
Automatically optimizes iTunes product links for your global audience and allows you to earn commissions on siles.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected881 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 210 | 222 | 881 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 12 | |
▷ Named functions | 12 | 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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
10 PNG files occupy 1.05MB with 0.43MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/thumbup.png | 0.72KB | 0.93KB | 0.00% |
img/thumbdown.png | 0.76KB | 0.96KB | 0.00% |
screenshot-2.png | 200.30KB | 62.09KB | ▼ 69.00% |
screenshot-5.png | 192.24KB | 64.08KB | ▼ 66.67% |
screenshot-3.png | 202.05KB | 61.87KB | ▼ 69.38% |