Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.38ms] Passed 4 tests
This is a short check of server-side resources used by OrgHunter
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 45.65 ▼15.13 |
Dashboard /wp-admin | 3.33 ▲0.02 | 52.97 ▼1.57 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.36 ▼7.51 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 100.35 ▼1.41 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.22 ▼5.29 |
OrgHunter /wp-admin/options-general.php?page=orghunter | 3.26 | 37.67 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
orghunter_charity_search_results_page_id |
theysaidso_admin_options |
can_compress_scripts |
orghunter_results_count |
widget_orghunter_charity_search_widget |
Browser metrics Passed 4 tests
OrgHunter: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.35 ▼0.02 | 1.84 ▼0.77 | 50.75 ▼17.13 |
Dashboard /wp-admin | 2,193 ▲19 | 5.53 ▼0.15 | 108.19 ▲8.64 | 47.73 ▲7.49 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.98 ▲0.01 | 38.56 ▼2.55 | 36.25 ▲0.51 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.29 ▲0.18 | 715.90 ▲25.40 | 46.30 ▼15.31 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.09 ▼0.13 | 113.88 ▲5.51 | 44.51 ▼5.45 |
OrgHunter /wp-admin/options-general.php?page=orghunter | 900 | 2.02 | 30.41 | 30.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 7× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/orghunter/uninstall.php
- > /wp-content/plugins/orghunter/options.php
- > /wp-content/plugins/orghunter/form.php
- > /wp-content/plugins/orghunter/orghunter-charity-search-results.php
- > /wp-content/plugins/orghunter/api.php
- > /wp-content/plugins/orghunter/orghunter.php
- > /wp-content/plugins/orghunter/widget.php
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/orghunter/orghunter-charity-search-result-charity.php:3
- > PHP Notice
Undefined variable: ein in wp-content/plugins/orghunter/orghunter-charity-search-result-charity.php on line 1
- > PHP Notice
Undefined variable: pager in wp-content/plugins/orghunter/orghunter-charity-search-results.php on line 6
- > PHP Notice
Undefined variable: url in wp-content/plugins/orghunter/orghunter-charity-search-result-charity.php on line 3
- > PHP Notice
Undefined variable: results in wp-content/plugins/orghunter/orghunter-charity-search-results.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: charity, donation, orghunter, search, third-party
orghunter/orghunter.php 92% from 13 tests
Analyzing the main PHP file in "OrgHunter" version 1.1.1
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 152 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected587 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 119 | 72 | 572 |
CSS | 1 | 0 | 0 | 15 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected