Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼140.73ms] Passed 4 tests
Analyzing server-side resources used by Users Profile Navigation
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.12 | 34.41 ▲7.72 |
Dashboard /wp-admin | 3.07 ▲0.01 | 43.32 ▼0.19 |
Posts /wp-admin/edit.php | 3.13 ▲0.01 | 41.56 ▲3.93 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.01 | 87.13 ▼561.03 |
Media Library /wp-admin/upload.php | 3.02 ▲0.01 | 29.07 ▼5.63 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Users Profile Navigation
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,681 ▲85 | 16.21 ▲0.61 | 8.73 ▲0.28 | 47.12 ▼1.75 |
Dashboard /wp-admin | 2,968 ▲37 | 6.08 ▲0.11 | 150.41 ▲10.28 | 113.29 ▲3.46 |
Posts /wp-admin/edit.php | 2,741 ▲2 | 2.71 ▼0.01 | 65.75 ▲0.98 | 91.33 ▲2.46 |
Add New Post /wp-admin/post-new.php | 1,693 ▲21 | 18.79 ▼0.37 | 365.88 ▼24.77 | 106.41 ▲0.32 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.02 ▼0.01 | 139.76 ▼8.67 | 119.10 ▲1.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
Please take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function Hdi\\Users_Profile_Navigation\\Controllers\\add_action() in wp-content/plugins/users-profile-navigation/include/class-users-profile-navigation-main.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function Hdi\\Users_Profile_Navigation\\Controllers\\add_action() in wp-content/plugins/users-profile-navigation/include/class-users-profile-navigation-main.php:9
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: navigation, user, administration, profile
users-profile-navigation/users-profile-navigation.php Passed 13 tests
The main PHP file in "Users Profile Navigation" ver. 0.9.7 adds more information about the plugin and also serves as the entry point for this plugin
25 characters long description:
Users profile navigation.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected155 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 21 | 22 | 110 |
PO File | 1 | 5 | 6 | 32 |
CSS | 1 | 2 | 0 | 11 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 77.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 22.22% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected