Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.15MB] [CPU: ▼10.41ms] Passed 4 tests
A check of server-side resources used by WP Different Navigation on Each Page And Post
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.44 ▼0.03 | 30.82 ▼5.15 |
Dashboard /wp-admin | 3.36 ▲0.06 | 43.81 ▼2.74 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 44.87 ▼2.79 |
Add New Post /wp-admin/post-new.php | 5.19 ▼0.70 | 63.57 ▼30.97 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 36.57 ▲2.59 |
WP Different Navigation Box Settings /wp-admin/options-general.php?page=wp-different-navi-page-post-settings | 3.22 | 30.96 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_wpdiffnavieachpage_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Different Navigation on Each Page And Post
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 13.67 ▼0.98 | 2.24 ▲0.39 | 38.78 ▼3.81 |
Dashboard /wp-admin | 2,212 ▲24 | 5.85 ▲0.97 | 97.46 ▼16.64 | 40.57 ▼2.04 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.06 ▲0.03 | 35.23 ▼5.06 | 32.90 ▼3.80 |
Add New Post /wp-admin/post-new.php | 1,519 ▼19 | 17.47 ▼0.94 | 666.21 ▲57.96 | 53.24 ▲1.51 |
Media Library /wp-admin/upload.php | 1,394 ▲3 | 4.15 ▼0.05 | 96.36 ▼2.39 | 39.70 ▼5.14 |
WP Different Navigation Box Settings /wp-admin/options-general.php?page=wp-different-navi-page-post-settings | 895 | 2.02 | 26.52 | 32.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_wpdiffnavieachpage_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wp-different-navi-page-post-settings
- > Notice in wp-content/plugins/wp-different-navigation-on-each-page-and-post/wp-different-navigation-on-each-page-and-post.php+248
Trying to access array offset on value of type bool
SRP Passed 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
Congratulations! This plugin passed the SRP test
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 important because it is parsed by WordPress.org for the public listing of your plugin
9 plugin tags: logout user menu, custom navigation, member menu, login user menu, different menu...
wp-different-navigation-on-each-page-and-post/wp-different-navigation-on-each-page-and-post.php Passed 13 tests
The main file in "WP Different Navigation on Each Page And Post" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
77 characters long description:
This plugin are display different-different navigation on each page and post.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected268 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 23 | 44 | 243 |
CSS | 1 | 6 | 9 | 25 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
There were not PNG files found in your plugin