78% rename-default-post

Code Review | Rename default post Labels

WordPress plugin Rename default post Labels scored 78% from 54 tests.

About plugin

  • Plugin page: rename-default-post
  • Plugin version: 1.1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.6
  • WordPress version: 6.3.1
  • First release: Jul 27, 2015
  • Latest release: Nov 24, 2020
  • Number of updates: 32
  • Update frequency: every 60.9 days
  • Top authors: AboZain (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

600+ active / 4,502 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼5.74ms] Passed 4 tests

Server-side resources used by Rename default post Labels
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0337.27 ▼9.14
Dashboard /wp-admin3.34 ▲0.0446.65 ▼1.88
Posts /wp-admin/edit.php3.39 ▲0.0345.58 ▼0.60
Add New Post /wp-admin/post-new.php5.92 ▲0.0380.93 ▼11.33
Media Library /wp-admin/upload.php3.26 ▲0.0335.41 ▲0.79
Rename Default Post /wp-admin/options-general.php?page=rename-default-post3.2029.62

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Rename default post Labels
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲5813.38 ▼1.024.04 ▲2.1241.16 ▼1.54
Dashboard /wp-admin2,210 ▲184.89 ▼0.05107.12 ▼9.8739.55 ▼8.09
Posts /wp-admin/edit.php2,096 ▲72.01 ▼0.0139.69 ▲3.6236.35 ▲2.68
Add New Post /wp-admin/post-new.php1,545 ▲3118.40 ▲0.89596.72 ▼61.2053.21 ▼5.94
Media Library /wp-admin/upload.php1,389 ▲14.22 ▼0.1696.77 ▼2.4939.93 ▼5.31
Rename Default Post /wp-admin/options-general.php?page=rename-default-post9642.0623.7826.43

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=rename-default-post
    • > User deprecated in wp-includes/functions.php+5463
    Function screen_icon is deprecated since version 3.8.0 with no alternative available.
    • > GET request to /wp-admin/options-general.php?page=rename-default-post
    • > User deprecated in wp-includes/functions.php+5463
    Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rename-default-post/rename-default-post.php:14

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

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes: Please take inspiration from this readme.txt

rename-default-post/rename-default-post.php Passed 13 tests

"Rename default post Labels" version 1.1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
59 characters long description:
Rename your Default Post name to custom name in admin menu.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin211 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP11722145
PO File1487759
HTML1007

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.26
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%
Functions5
▷ Named functions5100.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
There were not PNG files found in your plugin