78% author-customization

Code Review | Author Customization

WordPress plugin Author Customization scored78%from 54 tests.

About plugin

  • Plugin page: author-customization
  • Plugin version: 0.3.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6-5.7
  • WordPress version: 6.3.1
  • First release: Dec 12, 2013
  • Latest release: Mar 4, 2021
  • Number of updates: 35
  • Update frequency: every 75.4 days
  • Top authors: cconover (97.14%)someguy9 (5.71%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /6,061 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▲0.09MB] [CPU: ▼5.44ms] Passed 4 tests

A check of server-side resources used by Author Customization
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0236.17 ▼8.97
Dashboard /wp-admin3.41 ▲0.0649.67 ▼15.70
Posts /wp-admin/edit.php3.52 ▲0.1751.43 ▲5.67
Add New Post /wp-admin/post-new.php6.05 ▲0.1790.45 ▲3.79
Media Library /wp-admin/upload.php3.33 ▲0.1036.08 ▼0.87
Author Customization /wp-admin/options-general.php?page=cc-author3.2833.58

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Author Customization
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6514.34 ▼0.191.65 ▲0.0140.82 ▼4.19
Dashboard /wp-admin2,209 ▲325.64 ▼0.0291.23 ▼11.0038.86 ▼3.49
Posts /wp-admin/edit.php2,111 ▲112.00 ▲0.0535.20 ▼4.6035.28 ▼0.78
Add New Post /wp-admin/post-new.php6,501 ▲4,97321.72 ▼1.48923.89 ▲220.5378.05 ▲20.84
Media Library /wp-admin/upload.php1,411 ▲114.24 ▲0.0396.63 ▼17.0541.43 ▼6.23
Author Customization /wp-admin/options-general.php?page=cc-author8792.0423.6328.93

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=cc-author
    • > 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=cc-author
    • > 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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
  • 2× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function cconover\\author\\get_option() in wp-content/plugins/author-customization/author-customization.php:130
    • > PHP Fatal error
      Uncaught Error: Class 'cconover\\author\\Author' not found in wp-content/plugins/author-customization/admin/author-customization-admin.php:12

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found


Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: user, wysiwyg, tinymce, profile, rel-nofollow...

author-customization/author-customization.php 92% from 13 tests

The main PHP script in "Author Customization" version 0.3.4 is automatically included on every request by WordPress
Please take the time to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 195 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin497 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity24.00
▷ Minimum class complexity15.00
▷ Maximum class complexity33.00
Average method complexity2.64
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods2589.29%
▷ Protected methods310.71%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants5100.00%
▷ Public constants5100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin