Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼1.89MB] [CPU: ▼55.73ms] Passed 4 tests
A check of server-side resources used by Spiritual Gifts Test
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.37 | 5.25 ▼36.36 |
Dashboard /wp-admin | 2.11 ▼1.19 | 9.60 ▼47.36 |
Posts /wp-admin/edit.php | 2.12 ▼1.24 | 6.13 ▼45.24 |
Add New Post /wp-admin/post-new.php | 2.11 ▼3.77 | 7.43 ▼93.95 |
Media Library /wp-admin/upload.php | 2.11 ▼1.11 | 5.75 ▼31.94 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Spiritual Gifts Test
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.23 ▼0.42 | 1.74 ▲0.14 | 44.58 ▼0.26 |
Dashboard /wp-admin | 2,211 ▲37 | 5.62 ▲0.04 | 96.48 ▲2.14 | 42.45 ▼0.43 |
Posts /wp-admin/edit.php | 2,116 ▲19 | 1.97 ▼0.05 | 34.73 ▼1.25 | 32.98 ▼2.92 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 23.02 ▼0.33 | 585.03 ▼106.38 | 51.66 ▼18.37 |
Media Library /wp-admin/upload.php | 1,410 ▲10 | 4.26 ▲0.04 | 101.59 ▼13.88 | 41.90 ▼3.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/spiritual-gifts-test/spiritualgiftssurvey.php+53
Undefined index: action
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/spiritual-gifts-test/get_results.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Please add descriptions for these screenshots #4, #5, #6 in spiritual-gifts-test/assets to your readme.txt
spiritual-gifts-test/spiritualgiftssurvey.php 85% from 13 tests
Analyzing the main PHP file in "Spiritual Gifts Test" version 1.1.0
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 141 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("spiritual-gifts-test.php" instead of "spiritualgiftssurvey.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected635 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 111 | 179 | 545 |
JavaScript | 1 | 0 | 22 | 54 |
CSS | 1 | 0 | 0 | 36 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 9.33 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
No PNG images were found in this plugin