90% individual-multisite-author

Code Review | Individual Multisite Author

WordPress plugin Individual Multisite Author scored90%from 54 tests.

About plugin

  • Plugin page: individual-multis...
  • Plugin version: 1.3.1
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.3
  • WordPress version: 6.3.1
  • First release: Oct 1, 2013
  • Latest release: Aug 9, 2023
  • Number of updates: 29
  • Update frequency: every 124.2 days
  • Top authors: webzunft (100%)

Code review

54 tests

User reviews

12 reviews

Install metrics

60+ active /11,264 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

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

A check of server-side resources used by Individual Multisite Author
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0236.55 ▲1.15
Dashboard /wp-admin3.32 ▲0.0246.27 ▲1.25
Posts /wp-admin/edit.php3.37 ▲0.0245.37 ▼3.55
Add New Post /wp-admin/post-new.php5.90 ▲0.0282.67 ▼10.03
Media Library /wp-admin/upload.php3.25 ▲0.0231.33 ▼3.13

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

Individual Multisite Author: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.23 ▼1.371.66 ▼0.1746.29 ▲3.99
Dashboard /wp-admin2,200 ▲95.84 ▼0.04100.25 ▼4.7535.45 ▼10.26
Posts /wp-admin/edit.php2,089 ▼02.04 ▲0.0536.57 ▲1.1533.88 ▼3.36
Add New Post /wp-admin/post-new.php1,537 ▲2322.87 ▲5.17646.90 ▲2.5458.52 ▲2.44
Media Library /wp-admin/upload.php1,391 ▲34.17 ▼0.0799.27 ▼1.9241.45 ▼1.92

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: multisite, author description, biography, author bio, bio...

individual-multisite-author/individual-author.php 92% from 13 tests

The entry point to "Individual Multisite Author" version 1.3.1 is a PHP file that has certain tags in its header comment area
The following require your attention:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("individual-multisite-author.php" instead of "individual-author.php")

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
Everything looks great! No dangerous files found in this plugin134 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP1166579
PO File271255

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.33
Average class complexity11.00
▷ Minimum class complexity11.00
▷ Maximum class complexity11.00
Average method complexity2.43
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods7
▷ Static methods00.00%
▷ Public methods7100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.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