89% vr-visitas

Code Review | VR-Visitas (hits counter stats)

WordPress plugin VR-Visitas (hits counter stats) scored89%from 54 tests.

About plugin

  • Plugin page: vr-visitas
  • Plugin version: 3.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1.0-3.9
  • WordPress version: 6.3.1
  • First release: Oct 5, 2008
  • Latest release: May 1, 2014
  • Number of updates: 41
  • Update frequency: every 75.5 days
  • Top authors: vruizg (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /34,700 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.01MB] [CPU: ▼8.18ms] Passed 4 tests

This is a short check of server-side resources used by VR-Visitas (hits counter stats)
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0033.91 ▼9.08
Dashboard /wp-admin3.31 ▼0.0442.53 ▼21.47
Posts /wp-admin/edit.php3.36 ▲0.0047.08 ▲0.87
Add New Post /wp-admin/post-new.php5.89 ▲0.0084.69 ▼1.01
Media Library /wp-admin/upload.php3.23 ▲0.0035.39 ▼1.16

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
db_upgraded
widget_recent-comments
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for VR-Visitas (hits counter stats)
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.25 ▼1.131.64 ▼0.1738.15 ▼12.89
Dashboard /wp-admin2,206 ▲154.84 ▼0.98111.36 ▲6.3342.65 ▼1.99
Posts /wp-admin/edit.php2,089 ▼02.01 ▼0.0437.15 ▼2.4230.43 ▼5.51
Add New Post /wp-admin/post-new.php1,533 ▲1223.63 ▲0.63646.26 ▼52.0459.64 ▼8.78
Media Library /wp-admin/upload.php1,391 ▲64.23 ▲0.01105.05 ▲2.4746.08 ▲0.71

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
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
  • Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5, #6, #7 in vr-visitas/assets to your readme.txt
The official readme.txt might help

vr-visitas/vr-visitas.php 92% from 13 tests

This is the main PHP file of "VR-Visitas (hits counter stats)" version 3.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 187 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected2 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP17262

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
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%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.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 files were detected