Benchmarks
Plugin footprint 40% 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
- > Deprecated in wp-content/plugins/neoncrm-events-widget/neon-events.php+449
Function create_function() is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼59.40ms] Passed 4 tests
Server-side resources used by NeonCRM Events Widget
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 3.84 ▼37.18 |
Dashboard /wp-admin | 2.05 ▼1.26 | 5.25 ▼46.81 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.46 ▼48.60 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 4.75 ▼104.99 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 4.52 ▼30.64 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_neoncrm_events |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for NeonCRM Events Widget
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.58 ▼0.59 | 1.69 ▲0.05 | 38.66 ▼2.48 |
Dashboard /wp-admin | 2,206 ▲15 | 4.83 ▼1.05 | 111.98 ▲6.24 | 42.45 ▼2.35 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.02 ▲0.01 | 35.13 ▼4.74 | 30.76 ▼4.63 |
Add New Post /wp-admin/post-new.php | 1,514 ▼19 | 17.36 ▼5.91 | 675.28 ▲48.86 | 57.60 ▲8.74 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.24 ▼0.01 | 97.61 ▼1.80 | 42.80 ▼4.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/neoncrm-events-widget/neon-events.php+449
Function create_function() is deprecated
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_neoncrm_events
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/neoncrm-events-widget/neon-events.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
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: neon, events, crm, nonprofit, neoncrm
neoncrm-events-widget/neon-events.php 92% from 13 tests
The entry point to "NeonCRM Events Widget" version 0.20 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("neoncrm-events-widget.php" instead of "neon-events.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected460 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 58 | 101 | 460 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 48.50 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 10.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 70.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 20.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin