Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Parse error in wp-content/plugins/fundify-geolocated-campaigns/inc/campaign-edit.php+143
syntax error, unexpected end of file
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.22ms] Passed 4 tests
Analyzing server-side resources used by Fundify Geolocated Campaigns
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 45.41 ▲2.21 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.68 ▼4.88 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.25 ▼1.02 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.00 ▼7.13 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.14 ▲0.14 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Fundify Geolocated Campaigns
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.48 ▲0.08 | 1.64 ▼0.25 | 49.05 ▲1.90 |
Dashboard /wp-admin | 2,206 ▲18 | 4.84 ▼1.07 | 100.47 ▼12.06 | 42.83 ▼5.57 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.13 | 38.20 ▲1.63 | 30.38 ▼7.31 |
Add New Post /wp-admin/post-new.php | 1,535 ▲2 | 23.28 ▼0.04 | 606.22 ▼44.17 | 53.01 ▼0.90 |
Media Library /wp-admin/upload.php | 1,379 ▼9 | 4.23 ▲0.04 | 95.93 ▼0.42 | 41.70 ▼1.24 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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 trigger server-side errors or warnings when accessed directly:
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/fundify-geolocated-campaigns/inc/campaign-edit.php on line 143
- > PHP Parse 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 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Contributors: Contributors not specified
fundify-geolocated-campaigns/fundify-geolocated-campaigns.php 92% from 13 tests
Analyzing the main PHP file in "Fundify Geolocated Campaigns" version 0.2
You should first fix the following items:
- Text Domain: Please use dashes and lowercase characters for text domains
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 detected2,135 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 340 | 485 | 984 |
PHP | 8 | 254 | 350 | 886 |
PO File | 1 | 65 | 65 | 192 |
Sass | 2 | 10 | 0 | 63 |
Ruby | 1 | 6 | 12 | 8 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 1.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 33 | |
▷ Static methods | 2 | 6.06% |
▷ Public methods | 31 | 93.94% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 6.06% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
There are no PNG files in this plugin