84% list-all-urls

Code Review | List all URLs

WordPress plugin List all URLs scored84%from 54 tests.

About plugin

  • Plugin page: list-all-urls
  • Plugin version: 0.2.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.6
  • WordPress version: 6.3.1
  • First release: Apr 24, 2013
  • Latest release: Aug 14, 2021
  • Number of updates: 22
  • Update frequency: every 137.9 days
  • Top authors: evster (86.36%)psykro (18.18%)

Code review

54 tests

User reviews

17 reviews

Install metrics

5,000+ active /33,602 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
Install script ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼1.60ms] Passed 4 tests

Analyzing server-side resources used by List all URLs
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0240.68 ▲1.13
Dashboard /wp-admin3.32 ▲0.0243.80 ▼9.78
Posts /wp-admin/edit.php3.37 ▲0.0246.21 ▼1.22
Add New Post /wp-admin/post-new.php5.90 ▲0.0291.04 ▲4.87
Media Library /wp-admin/upload.php3.24 ▲0.0235.31 ▲3.49
List All URLs /wp-admin/options-general.php?page=list-all-urls3.2129.01

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_recent-comments
db_upgraded
widget_theysaidso_widget
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

A check of browser resources used by List all URLs
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲4713.24 ▼1.381.75 ▼0.3843.09 ▼0.61
Dashboard /wp-admin2,210 ▲285.88 ▲0.07105.08 ▼13.7038.94 ▼3.99
Posts /wp-admin/edit.php2,093 ▲42.00 ▲0.0038.84 ▲1.3333.72 ▼0.65
Add New Post /wp-admin/post-new.php1,545 ▲1218.44 ▼4.62659.84 ▼3.2958.73 ▲7.55
Media Library /wp-admin/upload.php1,392 ▲44.18 ▼0.01102.85 ▲3.1143.50 ▼0.90
List All URLs /wp-admin/options-general.php?page=list-all-urls7762.0327.3423.33

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/list-all-urls/list-all-urls.php:15

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

readme.txt 88% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
  • Plugin Name: Please specify the plugin name on the first line ( === list-all-urls === )
  • Screenshots: Please a description for screenshot #1 in list-all-urls/assets to your readme.txt
The official readme.txt is a good inspiration

list-all-urls/list-all-urls.php Passed 13 tests

"List all URLs" version 0.2.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
133 characters long description:
Creates a page in the admin panel under Settings > List All URLs that outputs an ordered list of all of the website's published URLs.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin75 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1281575

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.37
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

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin