90% edit-next

Code Review | Edit Next Post

WordPress plugin Edit Next Post scored90%from 54 tests.

About plugin

  • Plugin page: edit-next
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.6.1
  • WordPress version: 6.3.1
  • First release: Nov 1, 2016
  • Latest release: Nov 1, 2016
  • Number of updates: 3
  • Update frequency: N/A
  • Top authors: mukto90 (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

30+ active /1,180 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▼0.10MB] [CPU: ▼6.20ms] Passed 4 tests

A check of server-side resources used by Edit Next Post
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0240.25 ▲2.44
Dashboard /wp-admin3.33 ▼0.0244.70 ▼12.69
Posts /wp-admin/edit.php3.38 ▲0.0246.42 ▲0.83
Add New Post /wp-admin/post-new.php5.49 ▼0.4077.93 ▼10.94
Media Library /wp-admin/upload.php3.25 ▲0.0231.62 ▼2.00

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Edit Next Post
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,808 ▲7313.47 ▼0.881.61 ▼0.1838.11 ▼10.11
Dashboard /wp-admin2,214 ▲265.08 ▲0.17108.31 ▼2.0539.74 ▼0.64
Posts /wp-admin/edit.php2,100 ▲82.30 ▲0.3039.54 ▼2.8735.08 ▼2.08
Add New Post /wp-admin/post-new.php6,251 ▲4,73726.21 ▲8.56817.58 ▲139.8952.66 ▼15.64
Media Library /wp-admin/upload.php1,390 ▲24.41 ▲0.2698.92 ▼5.3842.36 ▼2.70

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 96% from 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
5 plugin tags: switch to another post, edit next post, edit post, post edit screen switch, edit another post

edit-next/edit-next.php 92% from 13 tests

"Edit Next Post" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
  • Domain Path: The domain path folder was not found ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected79 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP1276165
JavaScript20013
CSS1001

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.15
Average class complexity4.00
▷ Minimum class complexity4.00
▷ Maximum class complexity4.00
Average method complexity1.30
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods10
▷ Static methods110.00%
▷ Public methods880.00%
▷ Protected methods00.00%
▷ Private methods220.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin