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.94MB] [CPU: ▲0.35ms] Passed 4 tests
Server-side resources used by IgnitionDeck Crowdfunding Platform
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.41 ▲0.94 | 51.94 ▲9.88 |
Dashboard /wp-admin | 4.25 ▲0.90 | 55.37 ▼7.93 |
Posts /wp-admin/edit.php | 4.37 ▲1.00 | 58.64 ▲13.38 |
Add New Post /wp-admin/post-new.php | 6.85 ▲0.96 | 91.88 ▼13.93 |
Media Library /wp-admin/upload.php | 4.17 ▲0.94 | 48.81 ▲13.58 |
Install Plugins /wp-admin/plugins.php?page=idf-plugins | 4.28 | 43.59 |
Server storage [IO: ▲3.62MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 156 new files
Database: no new tables, 10 new options
New WordPress options |
---|
theysaidso_admin_options |
idf_key |
db_upgraded |
can_compress_scripts |
idf_current_version |
idf_transfer_key |
widget_recent-posts |
idf_install_flags |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by IgnitionDeck Crowdfunding Platform
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,971 ▲224 | 13.83 ▼0.41 | 8.57 ▲6.93 | 40.49 ▼3.03 |
Dashboard /wp-admin | 2,253 ▲75 | 5.52 ▼0.18 | 98.38 ▼16.44 | 47.38 ▲0.41 |
Posts /wp-admin/edit.php | 2,167 ▲64 | 2.07 ▲0.11 | 41.97 ▲3.17 | 44.31 ▲9.63 |
Add New Post /wp-admin/post-new.php | 1,577 ▲51 | 23.08 ▼0.48 | 655.18 ▲19.54 | 54.93 ▼0.01 |
Media Library /wp-admin/upload.php | 1,463 ▲69 | 4.26 ▲0.10 | 100.05 ▲1.18 | 49.04 ▲8.51 |
Install Plugins /wp-admin/plugins.php?page=idf-plugins | 1,063 | 2.06 | 27.53 | 32.84 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 10 options in the database
- widget_theysaidso_widget
- idf_transfer_key
- widget_recent-comments
- can_compress_scripts
- idf_key
- widget_recent-posts
- db_upgraded
- idf_install_flags
- idf_current_version
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/ignitiondeck/classes/modules/helix/templates/_helixIconMenu.php
- 53× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_next_scheduled() in wp-content/plugins/ignitiondeck/idf-cron.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ignitiondeck/classes/modules/helix/helix-admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ignitiondeck/classes/class-idf_cache.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/ignitiondeck/classes/class-idf-wizard.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ignitiondeck/templates/admin/_wcSettings.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/ignitiondeck/idf.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/ignitiondeck/classes/modules/helix/class-helix.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ignitiondeck/idf-wp.php:107
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/ignitiondeck/classes/modules/helix/templates/_primaryMenu.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ignitiondeck/classes/modules/helix/helix-menu.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% 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
5 plugin tags: fee splitting, fundraising, equity, crowdfunding, donation
ignitiondeck/idf.php 92% from 13 tests
The primary PHP file in "IgnitionDeck Crowdfunding Platform" version 1.9.4 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ignitiondeck.php" instead of "idf.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
There were no executable files found in this plugin15,492 lines of code in 115 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 60 | 940 | 1,877 | 6,674 |
CSS | 19 | 149 | 111 | 3,751 |
JSON | 4 | 0 | 0 | 3,188 |
JavaScript | 24 | 92 | 103 | 1,180 |
Sass | 1 | 132 | 0 | 425 |
SVG | 6 | 2 | 2 | 229 |
HTML | 1 | 3 | 0 | 45 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 24.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 3.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 200 | |
▷ Static methods | 10 | 5.00% |
▷ Public methods | 171 | 85.50% |
▷ Protected methods | 23 | 11.50% |
▷ Private methods | 6 | 3.00% |
Functions | 161 | |
▷ Named functions | 158 | 98.14% |
▷ Anonymous functions | 3 | 1.86% |
Constants | 7 | |
▷ Global constants | 4 | 57.14% |
▷ Class constants | 3 | 42.86% |
▷ Public constants | 3 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
29 PNG files occupy 2.51MB with 1.90MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 216.08KB | 85.92KB | ▼ 60.24% |
images/fundify.png | 47.90KB | 11.98KB | ▼ 74.99% |
images/demo-project.png | 478.18KB | 114.23KB | ▼ 76.11% |
classes/modules/helix/images/helix-join-saved.png | 20.24KB | 1.71KB | ▼ 91.57% |
images/cheer.png | 3.46KB | 0.84KB | ▼ 75.85% |