Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.39ms] Passed 4 tests
A check of server-side resources used by Ebay User Token
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.85 ▲0.17 |
Dashboard /wp-admin | 3.36 ▲0.06 | 45.93 ▼3.16 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 45.09 ▼1.31 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 82.85 ▼5.27 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.71 ▲0.22 |
Ebay User Token /wp-admin/options-general.php?page=ebay-user-token | 3.25 | 31.86 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Ebay User Token
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲75 | 13.21 ▼1.22 | 1.82 ▲0.18 | 42.89 ▼1.12 |
Dashboard /wp-admin | 2,216 ▲24 | 5.90 ▲0.94 | 103.99 ▼8.04 | 39.87 ▼0.08 |
Posts /wp-admin/edit.php | 2,080 ▼9 | 2.00 ▼0.05 | 35.66 ▼1.19 | 45.68 ▲14.71 |
Add New Post /wp-admin/post-new.php | 1,543 ▲10 | 23.17 ▲0.01 | 649.05 ▼12.13 | 59.46 ▲7.46 |
Media Library /wp-admin/upload.php | 1,398 ▲7 | 4.26 ▲0.04 | 97.11 ▼4.18 | 40.62 ▼1.76 |
Ebay User Token /wp-admin/options-general.php?page=ebay-user-token | 810 | 2.03 | 22.10 | 27.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
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
Good news, no errors were detected
SRP 50% 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 take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/ebay-user-token/ebay-user-token.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: user token, ebay, e-commerce
ebay-user-token/ebay-user-token.php Passed 13 tests
The main PHP script in "Ebay User Token" version 1.0.0 is automatically included on every request by WordPress
49 characters long description:
Allow blog users save ebay user token to metadata
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
No dangerous file extensions were detected238 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 25 | 10 | 238 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 14.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 16 | 76.19% |
▷ Public methods | 9 | 42.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 57.14% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin