Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼4.23ms] Passed 4 tests
Analyzing server-side resources used by Gigago Partner
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 35.70 ▼2.57 |
Dashboard /wp-admin | 3.45 ▲0.15 | 47.02 ▼1.39 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 45.96 ▼1.57 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 89.70 ▼11.38 |
Media Library /wp-admin/upload.php | 3.37 ▲0.15 | 33.34 ▲2.39 |
Email Templates /wp-admin/admin.php?page=gigago-partner-email | 3.34 | 32.07 |
Gigago Partner /wp-admin/admin.php?page=gigago-partner | 3.34 | 31.92 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Gigago Partner
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲110 | 13.65 ▼0.97 | 1.66 ▼0.01 | 41.59 ▲3.14 |
Dashboard /wp-admin | 2,262 ▲70 | 4.88 ▼0.06 | 107.22 ▼0.69 | 41.60 ▼0.61 |
Posts /wp-admin/edit.php | 2,145 ▲53 | 2.06 ▲0.08 | 39.62 ▼2.25 | 36.75 ▼1.91 |
Add New Post /wp-admin/post-new.php | 1,564 ▲45 | 18.52 ▼4.51 | 605.57 ▼50.00 | 55.41 ▼7.43 |
Media Library /wp-admin/upload.php | 1,442 ▲54 | 4.25 ▲0.09 | 97.85 ▼22.39 | 43.04 ▼5.11 |
Email Templates /wp-admin/admin.php?page=gigago-partner-email | 868 | 2.06 | 28.06 | 25.85 |
Gigago Partner /wp-admin/admin.php?page=gigago-partner | 912 | 2.04 | 23.45 | 27.99 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means 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 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: esim, gigago, buy esim, gigago partner
gigago-partner/gigago-partner.php Passed 13 tests
This is the main PHP file of "Gigago Partner" version 1.0.22, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
63 characters long description:
Help Gigago Partners’ customers buy eSIMs easily and quickly.
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
Everything looks great! No dangerous files found in this plugin965 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 168 | 169 | 876 |
HTML | 2 | 13 | 0 | 65 |
CSS | 1 | 0 | 0 | 18 |
SVG | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 9.30 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 3.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 34 | 97.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.86% |
Functions | 9 | |
▷ Named functions | 4 | 44.44% |
▷ Anonymous functions | 5 | 55.56% |
Constants | 8 | |
▷ Global constants | 8 | 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 images were found in this plugin