Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼144.29ms] Passed 4 tests
Server-side resources used by Super - Amazon Associate Affiliate Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 34.12 ▼2.44 |
Dashboard /wp-admin | 3.06 ▲0.01 | 39.81 ▼0.63 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 43.21 ▼2.99 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 86.56 ▼564.16 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 29.71 ▼7.55 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Super - Amazon Associate Affiliate Plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 16.02 ▲0.33 | 12.95 ▲4.87 | 48.99 ▲2.84 |
Dashboard /wp-admin | 2,967 ▲40 | 5.94 ▼0.04 | 134.03 ▼23.33 | 110.49 ▼4.59 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▼0.00 | 60.46 ▼4.99 | 95.88 ▲3.30 |
Add New Post /wp-admin/post-new.php | 1,504 ▲6 | 18.65 ▼0.13 | 370.78 ▲7.67 | 110.29 ▲7.14 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.04 ▼0.00 | 155.72 ▲4.28 | 117.30 ▼1.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled completely, with no zombie files or tables
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_oembed_add_provider() in wp-content/plugins/super-amazon-associate-affiliate-tools/getsuper.php:12
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: amazon ads, amazon link, amazon associate, amazon, amazon affiliate
super-amazon-associate-affiliate-tools/getsuper.php 92% from 13 tests
Analyzing the main PHP file in "Super - Amazon Associate Affiliate Plugin" version 1.0
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("super-amazon-associate-affiliate-tools.php" instead of "getsuper.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin4 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 3 | 9 | 4 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin