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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼13.42ms] Passed 4 tests
An overview of server-side resources used by NeonCRM Sign-In
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.10 ▼5.54 |
Dashboard /wp-admin | 3.33 ▼0.02 | 48.67 ▼17.26 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.37 ▼4.96 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 83.27 ▼25.91 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.01 ▲3.36 |
NeonCRM Sign-In Settings /wp-admin/options-general.php?page=neonsso | 3.20 | 34.19 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by NeonCRM Sign-In
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.34 ▼0.23 | 1.67 ▼0.49 | 48.93 ▲5.95 |
Dashboard /wp-admin | 2,202 ▲28 | 5.59 ▼0.06 | 94.22 ▼4.36 | 41.59 ▼4.19 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▼0.02 | 36.46 ▼0.52 | 38.03 ▲2.51 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.19 ▲0.23 | 674.02 ▲13.31 | 53.38 ▲0.58 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.21 ▲0.00 | 103.22 ▼5.05 | 43.49 ▼3.64 |
NeonCRM Sign-In Settings /wp-admin/options-general.php?page=neonsso | 904 | 2.09 | 23.29 | 29.28 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 8 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=neonsso
- > Notice in wp-content/plugins/neoncrm-sign-in/neoncrm-sso-admin-page.php+194
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/neoncrm-sign-in/neoncrm-sso-menu-page.php:82
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/neoncrm-sign-in/neoncrm-sso-profile-page.php:130
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/neoncrm-sign-in/neoncrm-sso-admin-page.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/neoncrm-sign-in/neoncrm-sso-admin-page.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
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
7 plugin tags: crm, neoncrm, oauth, nonprofit, single sign-on...
neoncrm-sign-in/neoncrm-sso.php 92% from 13 tests
"NeonCRM Sign-In" version 1.2.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("neoncrm-sign-in.php" instead of "neoncrm-sso.php")
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 detected907 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 276 | 480 | 907 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.50 |
▷ 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 | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 38 | |
▷ Named functions | 37 | 97.37% |
▷ Anonymous functions | 1 | 2.63% |
Constants | 12 | |
▷ Global constants | 12 | 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 images were found in this plugin