90% quick-page-navigation

Code Review | Quick Page Navigation

WordPress plugin Quick Page Navigation scored90%from 54 tests.

About plugin

  • Plugin page: quick-page-naviga...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0.0-4.5.2
  • WordPress version: 6.3.1
  • First release: Jun 18, 2016
  • Latest release: Jun 18, 2016
  • Number of updates: 6
  • Update frequency: N/A
  • Top authors: sandesh055 (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

200+ active /2,580 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.05MB] [CPU: ▲0.56ms] Passed 4 tests

An overview of server-side resources used by Quick Page Navigation
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0547.51 ▲3.80
Dashboard /wp-admin3.35 ▲0.0459.77 ▲11.15
Posts /wp-admin/edit.php3.40 ▲0.0555.33 ▲0.16
Add New Post /wp-admin/post-new.php5.95 ▲0.0696.96 ▼9.46
Media Library /wp-admin/upload.php3.28 ▲0.0541.64 ▲7.72

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget
db_upgraded
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by Quick Page Navigation
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,969 ▲18313.62 ▼0.689.94 ▲8.0837.79 ▼7.47
Dashboard /wp-admin2,246 ▲495.91 ▲0.05103.20 ▼3.9342.01 ▼4.38
Posts /wp-admin/edit.php2,125 ▲252.21 ▲0.2141.15 ▼0.0235.56 ▼4.89
Add New Post /wp-admin/post-new.php1,545 ▼022.97 ▼0.02611.37 ▼26.5458.18 ▼4.89
Media Library /wp-admin/upload.php1,428 ▲344.26 ▲0.03103.94 ▲1.8546.43 ▲1.91

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts

Smoke tests Passed 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)
Even though everything seems fine, this is not an exhaustive test

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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: page navigation, developer, beaver builder, edit any page, beaver builder live preview...

quick-page-navigation/quick-page-navigation.php Passed 13 tests

The principal PHP file in "Quick Page Navigation" v. 1.0.0 is loaded by WordPress automatically on each request
62 characters long description:
Quick Access to any page from admin bar at frontend / backend.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected231 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP13231146
JavaScript2201652
CSS275633

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.36
Average class complexity15.00
▷ Minimum class complexity15.00
▷ Maximum class complexity15.00
Average method complexity2.75
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods8
▷ Static methods00.00%
▷ Public methods8100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.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
No PNG images were found in this plugin