Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/user-object-framework/ucc-uof-loader.php+44
Accessing static property UCC_User_Object_Framework_Loader::$version as non static
Server metrics [RAM: ▼1.85MB] [CPU: ▼185.27ms] Passed 4 tests
A check of server-side resources used by User Object Framework
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.79 ▼0.94 | 6.36 ▼13.18 |
Dashboard /wp-admin | 1.81 ▼1.25 | 9.26 ▼34.69 |
Posts /wp-admin/edit.php | 1.81 ▼1.30 | 5.00 ▼39.10 |
Add New Post /wp-admin/post-new.php | 1.81 ▼3.63 | 4.56 ▼638.48 |
Media Library /wp-admin/upload.php | 1.81 ▼1.20 | 5.17 ▼28.82 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: 2 new tables, 1 new option
New tables |
---|
wp_uof_user_object |
wp_uof_user_objectmeta |
New WordPress options |
---|
_ucc_uof_db_version |
Browser metrics Passed 4 tests
Checking browser requirements for User Object Framework
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 15.91 ▼0.14 | 8.91 ▼2.55 | 48.28 ▼6.06 |
Dashboard /wp-admin | 2,967 ▲36 | 5.92 ▼0.03 | 135.97 ▼5.27 | 112.90 ▲1.82 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▼0.00 | 66.00 ▼3.58 | 87.07 ▼1.30 |
Add New Post /wp-admin/post-new.php | 1,500 ▼170 | 18.47 ▼0.72 | 350.49 ▼32.53 | 118.31 ▲10.13 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.04 ▲0.01 | 149.96 ▼10.00 | 122.51 ▲6.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/user-object-framework/ucc-uof-loader.php+44
Accessing static property UCC_User_Object_Framework_Loader::$version as non static
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_uof_user_objectmeta
- wp_uof_user_object
- This plugin did not uninstall successfully, leaving 1 option in the database
- _ucc_uof_db_version
Smoke tests Passed 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 Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Requires at least: Version format is invalid
user-object-framework/ucc-uof-loader.php 85% from 13 tests
The main PHP file in "User Object Framework" ver. 0.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Domain Path: The domain path folder was not found ("/languages/")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("user-object-framework.php" instead of "ucc-uof-loader.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
No dangerous file extensions were detected391 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 134 | 40 | 391 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 26.50 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 5.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin