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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.30ms] Passed 4 tests
This is a short check of server-side resources used by codoforum-sso
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 39.07 ▼3.61 |
Dashboard /wp-admin | 3.32 ▼0.02 | 46.92 ▼18.95 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 51.83 ▼2.63 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 97.99 ▼8.00 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 38.22 ▲0.73 |
Codoforum SSO /wp-admin/options-general.php?page=codoforum-options | 3.19 | 33.41 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 8 new options
New WordPress options |
---|
codoforum_clientid |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
codoforum_secret |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for codoforum-sso
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.34 ▼0.05 | 1.94 ▲0.03 | 41.10 ▲2.59 |
Dashboard /wp-admin | 2,202 ▲28 | 5.61 ▲0.04 | 91.08 ▲1.19 | 42.48 ▲0.39 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 2.02 ▼0.09 | 41.41 ▼0.51 | 37.96 ▼1.99 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 22.98 ▼0.23 | 618.86 ▼77.40 | 57.40 ▲4.01 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.19 ▼0.01 | 100.47 ▼8.41 | 43.72 ▼1.37 |
Codoforum SSO /wp-admin/options-general.php?page=codoforum-options | 812 | 2.02 | 23.50 | 26.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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 successfully, leaving 8 options in the database
- codoforum_clientid
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- codoforum_secret
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=codoforum-options
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=codoforum-options
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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 items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/codoforum-sso/wordpress-codoforum-sso.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: codoforum, forum, sso
codoforum-sso/wordpress-codoforum-sso.php 92% from 13 tests
Analyzing the main PHP file in "codoforum-sso" version 1.1
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("codoforum-sso.php" instead of "wordpress-codoforum-sso.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected112 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 27 | 24 | 112 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 4.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin