89% all-pages-in-customize

Code Review | All Pages In Custommize: see all the pages in the Customize preview

WordPress plugin All Pages In Custommize: see all the pages in the Customize preview scored 89% from 54 tests.

About plugin

  • Plugin page: all-pages-in-cust...
  • Plugin version: 0.0.2
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.4
  • WordPress version: 6.3.1
  • First release: Apr 14, 2021
  • Latest release: Aug 9, 2023
  • Number of updates: 21
  • Update frequency: every 40.4 days
  • Top authors: giuse (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 975 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

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

A check of server-side resources used by All Pages In Custommize: see all the pages in the Customize preview
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0037.94 ▼6.69
Dashboard /wp-admin3.31 ▲0.0053.71 ▲1.89
Posts /wp-admin/edit.php3.36 ▲0.0054.09 ▼2.27
Add New Post /wp-admin/post-new.php5.89 ▲0.00133.90 ▲42.99
Media Library /wp-admin/upload.php3.23 ▲0.0041.81 ▲8.95

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
can_compress_scripts
widget_recent-comments
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for All Pages In Custommize: see all the pages in the Customize preview
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▼1113.29 ▲0.184.36 ▲2.3138.58 ▼7.52
Dashboard /wp-admin2,209 ▼04.85 ▲0.00110.61 ▲4.2043.32 ▼1.52
Posts /wp-admin/edit.php2,092 ▲31.99 ▼0.0234.59 ▼1.3328.70 ▼5.36
Add New Post /wp-admin/post-new.php1,536 ▲323.43 ▲0.00664.97 ▼24.7157.64 ▼7.70
Media Library /wp-admin/upload.php1,388 ▼04.19 ▼0.11102.40 ▲2.7347.04 ▲3.13

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test

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 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
  • Donate link: Invalid URI ("")
The official readme.txt might help

all-pages-in-customize/all-pages-in-customize.php 92% from 13 tests

The principal PHP file in "All Pages In Custommize: see all the pages in the Customize preview" v. 0.0.2 is loaded by WordPress automatically on each request
You should first fix the following items:
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin87 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP342175
JavaScript10012

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.57
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%
Functions3
▷ Named functions3100.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
No PNG images were found in this plugin