84% jump-to-content

Code Review | zeev jump to content

WordPress plugin zeev jump to content scored84%from 54 tests.

About plugin

  • Plugin page: jump-to-content
  • Plugin version: 0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.1
  • WordPress version: 6.3.1
  • First release: Nov 16, 2013
  • Latest release: Jan 15, 2015
  • Number of updates: 9
  • Update frequency: every 47.4 days
  • Top authors: roycegracie (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /738 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

Server metrics [RAM: ▼0.19MB] [CPU: ▼18.60ms] Passed 4 tests

Analyzing server-side resources used by zeev jump to content
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0242.83 ▲4.16
Dashboard /wp-admin3.12 ▼0.1828.55 ▼20.13
Posts /wp-admin/edit.php3.25 ▼0.1032.57 ▼15.14
Add New Post /wp-admin/post-new.php5.45 ▼0.4467.89 ▼28.72
Media Library /wp-admin/upload.php3.19 ▼0.0425.47 ▼10.40

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_recent-comments
db_upgraded
can_compress_scripts
widget_theysaidso_widget
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for zeev jump to content
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,850 ▲8914.38 ▼0.351.66 ▲0.0152.61 ▲8.86
Dashboard /wp-admin2,214 ▲375.62 ▼0.0088.00 ▲0.2339.62 ▼0.80
Posts /wp-admin/edit.php2,113 ▲161.97 ▲0.0234.98 ▼2.1333.03 ▼6.77
Add New Post /wp-admin/post-new.php1,539 ▲1323.49 ▲0.00616.95 ▼100.2853.29 ▼5.48
Media Library /wp-admin/upload.php1,419 ▲194.21 ▲0.0497.14 ▼10.2445.00 ▼0.08

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
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jump-to-content/jump-to-content.php:12

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
  • Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line ( === jump-to-content === )
You can take inspiration from this readme.txt

jump-to-content/jump-to-content.php Passed 13 tests

The principal PHP file in "zeev jump to content" v. 0.2 is loaded by WordPress automatically on each request
130 characters long description:
adds a "jump to content" hidden bar at the top of the site, activated with "TAB". and helps disabled surfers to navigate the site.

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 plugin89 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP151989

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.00
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin