90% sx-no-author-pagination

Code Review | SX No author Pagination

WordPress plugin SX No author Pagination scored90%from 54 tests.

About plugin

  • Plugin page: sx-no-author-pagi...
  • Plugin version: 1.3
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.3
  • WordPress version: 6.3.1
  • First release: Jan 31, 2014
  • Latest release: Aug 24, 2023
  • Number of updates: 39
  • Update frequency: every 89.6 days
  • Top authors: Confridin (100%)

Code review

54 tests

User reviews

1 review

Install metrics

500+ active /3,927 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.00MB] [CPU: ▼1.87ms] Passed 4 tests

Server-side resources used by SX No author Pagination
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0035.08 ▼0.10
Dashboard /wp-admin3.31 ▲0.0143.95 ▼4.16
Posts /wp-admin/edit.php3.36 ▲0.0046.85 ▲0.86
Add New Post /wp-admin/post-new.php5.89 ▲0.0078.78 ▼3.71
Media Library /wp-admin/upload.php3.23 ▲0.0034.54 ▲0.50

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_recent-comments
widget_theysaidso_widget
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for SX No author Pagination
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.35 ▼0.001.60 ▼0.2644.56 ▲2.24
Dashboard /wp-admin2,189 ▲125.55 ▼0.0285.22 ▼6.7738.19 ▲0.86
Posts /wp-admin/edit.php2,103 ▲31.97 ▲0.0340.02 ▼1.1534.92 ▼4.42
Add New Post /wp-admin/post-new.php1,526 ▼323.04 ▼0.14677.30 ▼38.6162.74 ▼12.58
Media Library /wp-admin/upload.php1,400 ▼04.22 ▲0.0294.58 ▼5.3544.18 ▼1.28

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
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments

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)
Good news, no errors were detected

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
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 just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: seo, pagination, paged, author, crawl

sx-no-author-pagination/sx-no-author-pagination.php Passed 13 tests

The primary PHP file in "SX No author Pagination" version 1.3 is used by WordPress to initiate all plugin functionality
103 characters long description:
SX No author Pagination removes properly any author pagination and redirects useless paginated content.

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

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.75
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%
Functions2
▷ Named functions2100.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
No PNG files were detected