84% author-admin-view-archive-link

Code Review | Author Admin View Archive Link

WordPress plugin Author Admin View Archive Link scored84%from 54 tests.

About plugin

  • Plugin page: author-admin-view...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-5.2
  • WordPress version: 6.3.1
  • First release: Dec 23, 2015
  • Latest release: May 13, 2019
  • Number of updates: 4
  • Update frequency: every 316.5 days
  • Top authors: topher1kenobe (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /2,143 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
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.00MB] [CPU: ▼5.04ms] Passed 4 tests

Server-side resources used by Author Admin View Archive Link
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0134.82 ▼4.37
Dashboard /wp-admin3.31 ▲0.0140.30 ▼10.49
Posts /wp-admin/edit.php3.36 ▲0.0145.68 ▼0.09
Add New Post /wp-admin/post-new.php5.89 ▲0.0180.15 ▼4.81
Media Library /wp-admin/upload.php3.23 ▲0.0031.80 ▼0.49

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
can_compress_scripts
widget_recent-posts
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

A check of browser resources used by Author Admin View Archive Link
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.19 ▼1.201.58 ▼0.1737.34 ▼8.23
Dashboard /wp-admin2,206 ▲184.87 ▼0.00113.64 ▲9.1342.05 ▼0.10
Posts /wp-admin/edit.php2,089 ▼02.05 ▲0.0139.38 ▼0.2235.20 ▼0.34
Add New Post /wp-admin/post-new.php1,542 ▼118.33 ▼0.08621.12 ▼32.7262.24 ▲12.57
Media Library /wp-admin/upload.php1,388 ▲64.23 ▲0.0297.74 ▲0.3741.27 ▼3.34

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
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/author-admin-view-archive-link/author-admin-view-archive-link.php:20

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: users, archive, author

author-admin-view-archive-link/author-admin-view-archive-link.php Passed 13 tests

The main PHP file in "Author Admin View Archive Link" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
75 characters long description:
Creates a View Archive link in the list of authors on the Users admin page.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin6 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12126

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
Functions1
▷ Named functions1100.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
No PNG files were detected