89% rename-plugins-folder

Code Review | Rename Plugins Folder

WordPress plugin Rename Plugins Folder scored89%from 54 tests.

About plugin

  • Plugin page: rename-plugins-fo...
  • Plugin version: 0.0.1
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.3
  • WordPress version: 6.3.1
  • First release: Feb 17, 2021
  • Latest release: Aug 9, 2023
  • Number of updates: 24
  • Update frequency: every 37.7 days
  • Top authors: giuse (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

300+ active /2,573 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

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

An overview of server-side resources used by Rename Plugins Folder
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0041.88 ▼7.21
Dashboard /wp-admin3.33 ▲0.0248.48 ▼4.18
Posts /wp-admin/edit.php3.38 ▲0.0244.91 ▼0.41
Add New Post /wp-admin/post-new.php5.91 ▲0.0285.40 ▼44.12
Media Library /wp-admin/upload.php3.25 ▲0.0236.67 ▲2.56
Rename plugins folder /wp-admin/plugins.php?page=eos-rpf-settings-page3.2131.05

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

Rename Plugins Folder: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲3313.58 ▼0.801.65 ▼0.6050.48 ▲6.14
Dashboard /wp-admin2,213 ▲224.86 ▼1.03100.40 ▼14.8241.34 ▼10.84
Posts /wp-admin/edit.php2,096 ▲72.05 ▲0.0134.46 ▼1.6434.69 ▲1.64
Add New Post /wp-admin/post-new.php1,537 ▲2323.00 ▲5.54632.68 ▼17.5852.65 ▲2.15
Media Library /wp-admin/upload.php1,392 ▲74.18 ▼0.0996.71 ▼10.3141.31 ▼0.91
Rename plugins folder /wp-admin/plugins.php?page=eos-rpf-settings-page8302.0421.9930.34

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 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
Attributes that require attention:
  • Donate link: Invalid url: "buymeacoffee.com/josem"
The official readme.txt might help

rename-plugins-folder/rename-plugins-folder.php 92% from 13 tests

This is the main PHP file of "Rename Plugins Folder" version 0.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
  • Domain Path: The domain path is invalid: folder "/languages/" does not exist

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
Success! There were no dangerous files found in this plugin215 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP41431168
JavaScript10032
CSS10015

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.33
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%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.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
There are no PNG files in this plugin