Benchmarks
Plugin footprint 65% 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.05MB] [CPU: ▼12.25ms] Passed 4 tests
Analyzing server-side resources used by GiveXpert
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 28.42 ▼12.89 |
Dashboard /wp-admin | 3.44 ▲0.13 | 45.03 ▼6.33 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 48.00 ▲4.08 |
Add New Post /wp-admin/post-new.php | 5.33 ▼0.55 | 69.66 ▼32.19 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 34.52 ▲2.40 |
Shortcode /wp-admin/admin.php?page=shortcode | 3.33 | 31.85 |
Configuration /wp-admin/admin.php?page=parametre | 3.33 | 32.29 |
Server storage [IO: ▲0.88MB] [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: 26 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_client_data |
wp_progressbar_data |
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
jal_db_version |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for GiveXpert
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,927 ▲166 | 13.39 ▼0.96 | 10.34 ▲8.55 | 58.43 ▲15.30 |
Dashboard /wp-admin | 2,219 ▲42 | 5.51 ▼0.15 | 79.29 ▼10.34 | 41.51 ▲5.82 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.02 ▼0.00 | 36.37 ▼6.42 | 33.12 ▼4.77 |
Add New Post /wp-admin/post-new.php | 6,394 ▲4,859 | 27.03 ▲8.51 | 856.92 ▲220.24 | 61.97 ▼3.06 |
Media Library /wp-admin/upload.php | 1,430 ▲33 | 4.20 ▲0.04 | 94.31 ▼9.98 | 44.81 ▲0.38 |
Shortcode /wp-admin/admin.php?page=shortcode | 1,372 | 2.00 | 27.38 | 90.58 |
Configuration /wp-admin/admin.php?page=parametre | 1,259 | 2.00 | 24.58 | 51.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie tables detected upon uninstall: 2 tables
- wp_client_data
- wp_progressbar_data
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- jal_db_version
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/givexpert/parameter.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/givexpert/shortcode.php:144
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/givexpert/cookies-management.php:87
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/givexpert/parameter.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=parametre
- > Network (severe)
wp-content/plugins/givexpert/fonts/Assistant/Assistant-Regular.woff2 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=parametre
- > Network (severe)
wp-content/plugins/givexpert/fonts/Assistant/Assistant-SemiBold.woff2 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=parametre
- > Network (severe)
wp-content/plugins/givexpert/fonts/Assistant/Assistant-Regular.woff - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=parametre
- > Network (severe)
wp-content/plugins/givexpert/fonts/Assistant/Assistant-SemiBold.woff - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=parametre
- > Network (severe)
wp-content/plugins/givexpert/fonts/Assistant/Assistant-Regular.ttf - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=parametre
- > Network (severe)
wp-content/plugins/givexpert/fonts/Assistant/Assistant-SemiBold.ttf - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: givexpert, fundraising
givexpert/block.php 92% from 13 tests
"GiveXpert" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("givexpert.php" instead of "block.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected24,952 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 3,852 | 308 | 20,242 |
JavaScript | 6 | 210 | 23 | 3,418 |
PHP | 6 | 192 | 32 | 818 |
JSON | 1 | 0 | 0 | 472 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 30 | |
▷ Named functions | 30 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo_GiveXpert.png | 4.75KB | 2.73KB | ▼ 42.61% |