Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼1.35ms] Passed 4 tests
An overview of server-side resources used by Ebay Affiliate System for WordPress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.31 ▼6.16 |
Dashboard /wp-admin | 3.35 ▲0.04 | 48.17 ▲1.82 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 52.40 ▲3.72 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 96.96 ▼3.47 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.84 ▲2.41 |
Ebay Affiliate System /wp-admin/options-general.php?page=ebayaffiliatesystem | 3.21 | 41.06 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Ebay Affiliate System for WordPress: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲51 | 13.33 ▼1.23 | 1.75 ▼0.81 | 44.47 ▲7.54 |
Dashboard /wp-admin | 2,215 ▲27 | 5.88 ▲0.97 | 107.74 ▼10.69 | 39.35 ▼8.10 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.04 ▲0.00 | 40.28 ▲1.31 | 34.72 ▼1.70 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.36 ▲0.00 | 624.30 ▲11.39 | 52.09 ▼0.90 |
Media Library /wp-admin/upload.php | 1,394 ▲9 | 4.28 ▲0.09 | 93.60 ▼5.87 | 41.12 ▼2.93 |
Ebay Affiliate System /wp-admin/options-general.php?page=ebayaffiliatesystem | 927 | 2.15 | 26.77 | 26.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 10 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ebayaffiliatesystem
- > Notice in wp-content/plugins/linekal-ebay-affiliate-system/admin-ebay-affiliate-system.php+280
Trying to access array offset on value of type bool
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: rss feeds, ebay partner feeds, ebay, ebay affiliate, affiliate marketing
linekal-ebay-affiliate-system/admin-ebay-affiliate-system.php 92% from 13 tests
The principal PHP file in "Ebay Affiliate System for WordPress" v. 2.0 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("linekal-ebay-affiliate-system.php" instead of "admin-ebay-affiliate-system.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin580 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 97 | 15 | 432 |
CSS | 2 | 0 | 0 | 148 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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 | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
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 |
author_profile.png | 127.33KB | 140.09KB | 0.00% |
banner-772x250.png | 56.76KB | 15.34KB | ▼ 72.97% |
icon-256x256.png | 25.45KB | 7.91KB | ▼ 68.91% |