89% wp-sequential-page-number

Code Review | WP Sequential Page Number - Maintain a sequential numbering for the new pages

WordPress plugin WP Sequential Page Number - Maintain a sequential numbering for the new pages scored89%from 54 tests.

About plugin

  • Plugin page: wp-sequential-pag...
  • Plugin version: 1.1
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.1.1
  • WordPress version: 6.3.1
  • First release: Aug 19, 2020
  • Latest release: Nov 30, 2022
  • Number of updates: 13
  • Update frequency: every 64.1 days
  • Top authors: hellomanaf (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /815 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

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

An overview of server-side resources used by WP Sequential Page Number - Maintain a sequential numbering for the new pages
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0240.22 ▼2.85
Dashboard /wp-admin3.31 ▲0.0151.26 ▼2.42
Posts /wp-admin/edit.php3.36 ▲0.0150.42 ▲3.47
Add New Post /wp-admin/post-new.php5.89 ▲0.0196.98 ▲0.58
Media Library /wp-admin/upload.php3.24 ▲0.0135.37 ▼2.28

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
can_compress_scripts
theysaidso_admin_options
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

WP Sequential Page Number - Maintain a sequential numbering for the new pages: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.34 ▼0.051.75 ▼0.0840.50 ▼2.83
Dashboard /wp-admin2,192 ▲125.67 ▲0.0987.14 ▼16.9839.42 ▼3.89
Posts /wp-admin/edit.php2,103 ▲32.03 ▲0.0839.09 ▲1.5636.06 ▼1.14
Add New Post /wp-admin/post-new.php1,526 ▼023.29 ▼0.26626.60 ▼63.4168.67 ▲9.47
Media Library /wp-admin/upload.php1,403 ▲34.20 ▲0.02104.96 ▼0.1944.49 ▼1.63

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

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention: You can look at the official readme.txt

wp-sequential-page-number/wp-sequential-page-number.php 92% from 13 tests

This is the main PHP file of "WP Sequential Page Number - Maintain a sequential numbering for the new pages" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug

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 plugin88 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP2163086
Markdown1002

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.62
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%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin