84% extend-co-authors-plus-for-facetwp

Code Review | Extend Co-Authors Plus for FacetWP

WordPress plugin Extend Co-Authors Plus for FacetWP scored84%from 54 tests.

About plugin

  • Plugin page: extend-co-authors...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.8-6.0
  • WordPress version: 6.3.1
  • First release: Feb 23, 2019
  • Latest release: Sep 23, 2022
  • Number of updates: 9
  • Update frequency: every 145.3 days
  • Top authors: polyres (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /840 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.01MB] [CPU: ▼2.88ms] Passed 4 tests

Server-side resources used by Extend Co-Authors Plus for FacetWP
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0239.43 ▼3.60
Dashboard /wp-admin3.31 ▲0.0149.60 ▲0.32
Posts /wp-admin/edit.php3.36 ▲0.0147.86 ▲2.20
Add New Post /wp-admin/post-new.php5.89 ▲0.0183.11 ▼10.42
Media Library /wp-admin/upload.php3.23 ▲0.0136.11 ▲2.17

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Extend Co-Authors Plus for FacetWP
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.56 ▼0.741.87 ▲0.1744.81 ▼0.40
Dashboard /wp-admin2,206 ▲154.84 ▼0.04102.09 ▼2.5237.59 ▼4.36
Posts /wp-admin/edit.php2,089 ▼02.05 ▲0.0539.30 ▲3.5133.69 ▲3.07
Add New Post /wp-admin/post-new.php1,514 ▼2417.61 ▼5.33677.18 ▲24.9667.15 ▲5.00
Media Library /wp-admin/upload.php1,388 ▼34.29 ▲0.0894.06 ▼7.3241.76 ▼0.60

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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 fix the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/extend-co-authors-plus-for-facetwp/extend-co-authors-plus-for-facetwp.php:29

User-side errors Passed 1 test

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

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: authors, facet, facetwp, coauthors, publishing...

extend-co-authors-plus-for-facetwp/extend-co-authors-plus-for-facetwp.php Passed 13 tests

The main PHP file in "Extend Co-Authors Plus for FacetWP" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
34 characters long description:
Add an Co-Authors facet to FacetWP

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin25 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP143225

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.25
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%
Functions3
▷ Named functions00.00%
▷ Anonymous functions3100.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin