84% jonradio-reveal-network-activated-plugins

Code Review | Reveal Network Activated Plugins

WordPress plugin Reveal Network Activated Plugins scored 84% from 54 tests.

About plugin

  • Plugin page: jonradio-reveal-n...
  • Plugin version: 3.1.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-5.8
  • WordPress version: 6.3.1
  • First release: Aug 25, 2013
  • Latest release: Aug 30, 2023
  • Number of updates: 54
  • Update frequency: every 67.8 days
  • Top authors: adiant (64.81%)dgewirtz (37.04%)

Code review

54 tests

User reviews

4 reviews

Install metrics

10+ active / 4,210 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

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

Analyzing server-side resources used by Reveal Network Activated Plugins
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0236.41 ▼4.26
Dashboard /wp-admin3.33 ▲0.0346.87 ▲3.12
Posts /wp-admin/edit.php3.38 ▲0.0346.50 ▲3.21
Add New Post /wp-admin/post-new.php5.91 ▲0.0383.74 ▲1.37
Media Library /wp-admin/upload.php3.25 ▲0.0338.17 ▲5.23
Reveal Plugins /wp-admin/plugins.php?page=jr_rnap_notice3.2030.65

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
can_compress_scripts
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for Reveal Network Activated Plugins
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,829 ▲9414.48 ▲0.051.89 ▲0.1236.64 ▼5.16
Dashboard /wp-admin2,207 ▲155.88 ▲0.92106.58 ▲0.1436.54 ▼4.25
Posts /wp-admin/edit.php2,093 ▲42.00 ▼0.0440.42 ▲4.5139.11 ▲2.75
Add New Post /wp-admin/post-new.php1,541 ▲2123.06 ▼0.24667.75 ▲40.6456.05 ▼4.05
Media Library /wp-admin/upload.php1,389 ▼24.24 ▲0.0696.79 ▼2.0840.88 ▼2.24
Reveal Plugins /wp-admin/plugins.php?page=jr_rnap_notice8032.0524.6228.86

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
    • > GET request to /wp-admin/plugins.php?page=jr_rnap_notice
    • > 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/plugins.php?page=jr_rnap_notice
    • > User deprecated in wp-includes/functions.php+5463
    Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.

SRP Passed 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
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

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
7 plugin tags: multisite, activation, plugins, network, drop-ins...

jonradio-reveal-network-activated-plugins/jonradio-reveal-network-activated-plugins.php 92% from 13 tests

"Reveal Network Activated Plugins" version 3.1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 148 characters long)

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
Good job! No executable or dangerous file extensions detected840 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PHP888285840
HTML1100

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.42
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%
Functions26
▷ Named functions26100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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 were not PNG files found in your plugin