88% orbisius-quick-nav

Code Review | Orbisius Quick Nav

WordPress plugin Orbisius Quick Nav scored 88% from 54 tests.

About plugin

  • Plugin page: orbisius-quick-nav
  • Plugin version: 1.0.8
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.0-4.7
  • WordPress version: 5.8.1
  • First release: Feb 24, 2014
  • Latest release: May 29, 2017
  • Number of updates: 31
  • Update frequency: every 38.4 days
  • Top authors: lordspace (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

100+ active / 2,975 total downloads

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 gracefully, with no errors

Server metrics [RAM: ▼0.04MB] [CPU: ▼144.03ms] Passed 4 tests

This is a short check of server-side resources used by Orbisius Quick Nav
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.91 ▲0.1974.98 ▲52.96
Dashboard /wp-admin3.14 ▲0.0946.50 ▲0.87
Posts /wp-admin/edit.php3.14 ▲0.0434.91 ▼7.24
Add New Post /wp-admin/post-new.php5.06 ▼0.3781.65 ▼562.39
Media Library /wp-admin/upload.php3.09 ▲0.0832.34 ▼7.34
Orbisius Quick Nav /wp-admin/options-general.php?page=orbisius-quick-nav/orbisius-quick-nav.php3.0431.39

Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Orbisius Quick Nav
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,687 ▲9116.21 ▲0.367.99 ▼1.4149.81 ▲0.42
Dashboard /wp-admin2,977 ▲465.88 ▼0.05151.65 ▼4.77111.17 ▼8.11
Posts /wp-admin/edit.php2,794 ▲552.76 ▲0.0770.44 ▼0.39108.99 ▲16.65
Add New Post /wp-admin/post-new.php1,547 ▼12516.94 ▼2.02369.33 ▼9.42109.86 ▼2.10
Media Library /wp-admin/upload.php1,815 ▲85.00 ▼0.02157.77 ▲1.73125.90 ▲5.50
Orbisius Quick Nav /wp-admin/options-general.php?page=orbisius-quick-nav/orbisius-quick-nav.php1,7838.84406.47141.22

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully

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
These errors were triggered by the plugin
    • > GET request to /wp-admin/options-general.php?page=orbisius-quick-nav/orbisius-quick-nav.php
    • > Notice in wp-content/plugins/orbisius-quick-nav/orbisius-quick-nav.php+538
    Undefined variable: plugin_file

SRP 50% from 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
The following issues need your attention
  • 1× 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/orbisius-quick-nav/orbisius-quick-nav.php:29

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 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
  • Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
  • Screenshots: These screenshots have no corresponding images in /assets: #1 (Plugin's Settings Page), #2 (The dropdown generated on edit page screen)
The official readme.txt is a good inspiration

orbisius-quick-nav/orbisius-quick-nav.php Passed 13 tests

Analyzing the main PHP file in "Orbisius Quick Nav" version 1.0.8
94 characters long description:
This plugin allows you to quickly switch between pages, posts, or any other custom post types.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin542 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1134100542

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity14.00
▷ Minimum class complexity14.00
▷ Maximum class complexity14.00
Average method complexity7.50
▷ Minimum method complexity3.00
▷ Maximum method complexity12.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods2
▷ Static methods2100.00%
▷ Public methods2100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions13
▷ Named functions13100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.16MB with 0.11MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png78.63KB24.18KB▼ 69.24%
screenshot-2.png88.83KB27.72KB▼ 68.79%