Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼8.09ms] Passed 4 tests
Server-side resources used by GigFi - Gig promotion for Fiverr
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 37.70 ▼2.72 |
Dashboard /wp-admin | 3.34 ▼0.01 | 49.78 ▼10.03 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.50 ▼7.46 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 90.37 ▼12.13 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.74 ▲3.44 |
Five R Gig Options /wp-admin/plugins.php?page=five_r_gig | 3.23 | 35.47 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
five_r_gig_display_options |
can_compress_scripts |
theysaidso_admin_options |
widget_gig_promotion_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for GigFi - Gig promotion for Fiverr
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,909 ▲163 | 13.43 ▼0.93 | 8.74 ▲6.99 | 39.14 ▼3.24 |
Dashboard /wp-admin | 2,203 ▲29 | 5.64 ▲0.07 | 98.17 ▲11.29 | 44.37 ▼0.39 |
Posts /wp-admin/edit.php | 2,108 ▲11 | 2.03 ▲0.01 | 39.97 ▲2.06 | 38.54 ▲0.74 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.13 ▲0.16 | 651.21 ▼25.30 | 54.31 ▲4.53 |
Media Library /wp-admin/upload.php | 1,408 ▲14 | 4.32 ▲0.12 | 101.70 ▼8.87 | 46.17 ▲0.58 |
Five R Gig Options /wp-admin/plugins.php?page=five_r_gig | 855 | 2.04 | 27.35 | 29.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 8 options
- widget_recent-posts
- widget_gig_promotion_widget
- db_upgraded
- theysaidso_admin_options
- five_r_gig_display_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 25% from 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 no errors were found, this is by no means an exhaustive test
SRP 0% from 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
Please take a closer look at the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/gig-promotion-for-fiverr/admin/partials/five-r-gig-admin-display.php
- > /wp-content/plugins/gig-promotion-for-fiverr/public/partials/five-r-gig-public-display.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/gig-promotion-for-fiverr/admin/class-five-r-gig-widget.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/plugins.php?page=five_r_gig
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of undefined (reading 'editor')" "TypeError: Cannot read properties of undefined (reading 'editor')\n at media_upload (/wp-content/plugins/gig-promotion-for-fiverr/admin/js/five-r-gig-admin.js?ver=1.0.0:34:38)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/gig-promotion-for-fiverr/admin/js/five-r-gig-admin.js?ver=1.0.0:49:4)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/plugins.php?page=five_r_gig
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of undefined (reading 'editor')
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
7 plugin tags: fiverr, profile, promotion, social, freelance...
gig-promotion-for-fiverr/gig-promotion-for-fiver.php 85% from 13 tests
"GigFi - Gig promotion for Fiverr" version 1.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("gig-promotion-for-fiverr.php" instead of "gig-promotion-for-fiver.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin783 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 298 | 730 | 695 |
PO File | 1 | 22 | 25 | 60 |
JavaScript | 2 | 3 | 54 | 26 |
CSS | 2 | 0 | 4 | 1 |
Markdown | 1 | 1 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 7.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 2.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 55 | |
▷ Static methods | 2 | 3.64% |
▷ Public methods | 49 | 89.09% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 10.91% |
Functions | 3 | |
▷ Named functions | 3 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.02MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/style-1.png | 19.29KB | 20.07KB | 0.00% |