10% rt-filter-page-list

Code Review | RT Filter Page List

WordPress plugin RT Filter Page List scored10%from 54 tests.

About plugin

  • Plugin page: rt-filter-page-list
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5.2-6.3
  • WordPress version: 6.3.1
  • First release: May 13, 2014
  • Latest release: Sep 1, 2023
  • Number of updates: 39
  • Update frequency: every 87.2 days
  • Top authors: roytanck (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /3,050 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
  • Install procedure validation failed for this plugin
    • > Notice in wp-content/plugins/rt-filter-page-list/rt-filter-page-list.php+34
    Trying to access array offset on value of type bool

Server metrics [RAM: ▼1.90MB] [CPU: ▼50.19ms] Passed 4 tests

This is a short check of server-side resources used by RT Filter Page List
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.09 ▼1.375.85 ▼36.07
Dashboard /wp-admin2.12 ▼1.236.29 ▼48.10
Posts /wp-admin/edit.php2.12 ▼1.247.01 ▼38.52
Add New Post /wp-admin/post-new.php2.12 ▼3.776.43 ▼78.05
Media Library /wp-admin/upload.php2.12 ▼1.116.16 ▼28.31
RT Filter Page List /wp-admin/options-general.php?page=rt-filter-page-list-settings2.127.16

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

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

Browser metrics Passed 4 tests

Checking browser requirements for RT Filter Page List
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,829 ▲8313.54 ▼0.752.11 ▲0.3245.57 ▲3.67
Dashboard /wp-admin2,213 ▲214.85 ▼0.12101.71 ▼4.3437.61 ▼0.74
Posts /wp-admin/edit.php2,093 ▲41.99 ▼0.0137.93 ▲4.8634.00 ▼0.93
Add New Post /wp-admin/post-new.php1,517 ▼217.75 ▼5.57659.30 ▲21.7354.00 ▼1.70
Media Library /wp-admin/upload.php1,386 ▼54.22 ▼0.1196.35 ▲2.0641.77 ▼1.41
RT Filter Page List /wp-admin/options-general.php?page=rt-filter-page-list-settings7812.0526.6528.72

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
  • Uninstall procedure had uncaught errors
    • > Notice in wp-content/plugins/rt-filter-page-list/rt-filter-page-list.php+34
    Trying to access array offset on value of type bool
  • The uninstall procedure has failed, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=rt-filter-page-list-settings
    • > Notice in wp-content/plugins/rt-filter-page-list/rt-filter-page-list.php+34
    Trying to access array offset on value of type bool

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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: accordion, folding, menu, widget, filter...

rt-filter-page-list/rt-filter-page-list.php 92% from 13 tests

The main file in "RT Filter Page List" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 184 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected216 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP385142216

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.41
Average class complexity11.33
▷ Minimum class complexity7.00
▷ Maximum class complexity19.00
Average method complexity3.07
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods15
▷ Static methods320.00%
▷ Public methods15100.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

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin