84% remove-more-jump

Code Review | Remove More Jump

WordPress plugin Remove More Jump scored84%from 54 tests.

About plugin

  • Plugin page: remove-more-jump
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8-4.6.1
  • WordPress version: 6.3.1
  • First release: Feb 17, 2013
  • Latest release: Oct 8, 2016
  • Number of updates: 4
  • Update frequency: every 332.2 days
  • Top authors: bjornjohansen (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

200+ active /3,959 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

Server metrics [RAM: ▼0.01MB] [CPU: ▼11.33ms] Passed 4 tests

Server-side resources used by Remove More Jump
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0039.93 ▲0.30
Dashboard /wp-admin3.31 ▼0.0448.54 ▼15.17
Posts /wp-admin/edit.php3.36 ▲0.0050.59 ▼0.97
Add New Post /wp-admin/post-new.php5.89 ▲0.0086.01 ▼29.48
Media Library /wp-admin/upload.php3.24 ▲0.0039.01 ▲4.17

Server storage [IO: ▲0.02MB] [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: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

Remove More Jump: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.23 ▼0.191.91 ▲0.2642.61 ▲0.96
Dashboard /wp-admin2,195 ▲155.57 ▼0.0789.21 ▲0.1439.55 ▼5.64
Posts /wp-admin/edit.php2,100 ▼02.02 ▲0.0237.86 ▲1.7634.92 ▼7.74
Add New Post /wp-admin/post-new.php1,526 ▼023.27 ▲0.50674.62 ▲0.6459.11 ▲4.86
Media Library /wp-admin/upload.php1,403 ▲64.20 ▼0.01106.33 ▲0.8345.62 ▼0.58

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
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/remove-more-jump/remove-more-jump.php:33

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)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: more, filter, permalink, read more

remove-more-jump/remove-more-jump.php Passed 13 tests

"Remove More Jump" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
80 characters long description:
Removes the anchor from the permalinks, so you don't jump halfway down the page.

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
No dangerous file extensions were detected10 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1122110

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.00
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods2
▷ Static methods00.00%
▷ Public methods2100.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

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin