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
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.04ms] Passed 4 tests
Server-side resources used by eSIM.Ninja Affiliates Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.14 ▲0.54 |
Dashboard /wp-admin | 3.35 ▲0.04 | 47.32 ▼5.14 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 50.03 ▼5.08 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 95.42 ▼3.30 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.08 ▼2.63 |
eSIM.Ninja /wp-admin/options-general.php?page=esim-ninja-settings | 3.23 | 33.40 |
Server storage [IO: ▲0.05MB] [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 |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
eSIM.Ninja Affiliates Widget: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.28 ▲0.01 | 1.80 ▼0.41 | 38.70 ▼8.91 |
Dashboard /wp-admin | 2,199 ▲22 | 5.63 ▼0.02 | 93.88 ▲1.91 | 41.72 ▼5.22 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.01 ▲0.06 | 39.14 ▲1.57 | 35.17 ▼7.73 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.08 ▼0.32 | 597.57 ▼50.00 | 51.35 ▼7.99 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.15 ▼0.01 | 101.48 ▼0.02 | 43.94 ▲1.04 |
eSIM.Ninja /wp-admin/options-general.php?page=esim-ninja-settings | 804 | 2.00 | 25.68 | 30.36 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: monetization, esim, affiliate, mobile, price comparison...
esim-ninja-affiliates-widget/esim-ninja-affiliates-widget.php 85% from 13 tests
The primary PHP file in "eSIM.Ninja Affiliates Widget" version 1.0.6 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 143 characters long)
- Requires PHP: Required version does not match the one declared in readme.txt ("5.3" instead of "5.6.2")
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
Success! There were no dangerous files found in this plugin229 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 23 | 48 | 162 |
PO File | 1 | 17 | 25 | 67 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 4.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
No PNG files were detected