78% rcvcite

Code Review | RcVCite

WordPress plugin RcVCite scored78%from 54 tests.

About plugin

  • Plugin page: rcvcite
  • Plugin version: 0.4.17.716.16
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.8
  • WordPress version: 6.3.1
  • First release: Apr 21, 2014
  • Latest release: Jul 19, 2017
  • Number of updates: 10
  • Update frequency: every 118.6 days
  • Top authors: RcVCite (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

20+ active /1,007 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼4.96ms] Passed 4 tests

Analyzing server-side resources used by RcVCite
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0236.21 ▼1.45
Dashboard /wp-admin3.33 ▲0.0344.25 ▼6.60
Posts /wp-admin/edit.php3.38 ▲0.0349.28 ▼1.43
Add New Post /wp-admin/post-new.php5.91 ▲0.0384.68 ▼10.34
Media Library /wp-admin/upload.php3.26 ▲0.0333.23 ▲0.14
RcVCite /wp-admin/options-general.php?page=RcVCite-admin3.2028.86

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options
widget_recent-posts
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by RcVCite
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,897 ▲16214.53 ▲0.1515.46 ▲13.7539.95 ▼10.12
Dashboard /wp-admin2,213 ▲245.88 ▲0.90103.72 ▼6.9141.42 ▼3.11
Posts /wp-admin/edit.php2,090 ▲12.01 ▼0.0135.52 ▼4.1033.17 ▼1.58
Add New Post /wp-admin/post-new.php1,537 ▲423.44 ▲0.36641.79 ▲16.3556.81 ▲1.05
Media Library /wp-admin/upload.php1,395 ▲74.19 ▼0.0397.84 ▼3.1143.14 ▼1.85
RcVCite /wp-admin/options-general.php?page=RcVCite-admin8892.0522.2627.91

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
    • > GET request to /wp-admin/options-general.php?page=RcVCite-admin
    • > 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/options-general.php?page=RcVCite-admin
    • > User deprecated in wp-includes/functions.php+5463
    Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.

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 take a closer look at the following
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/rcvcite/rcvcite.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
  • Donate link: Invalid url: "NA"
  • Screenshots: Please describe screenshot #2 in rcvcite/assets to your readme.txt
You can take inspiration from this readme.txt

rcvcite/rcvcite.php Passed 13 tests

The principal PHP file in "RcVCite" v. 0.4.17.716.16 is loaded by WordPress automatically on each request
109 characters long description:
RcVCite displays the content of a verse when you click on a reference or yourmouse moves over the reference.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin1,253 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript22973971
PHP12237147
CSS21841135

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity17.00
▷ Minimum class complexity17.00
▷ Maximum class complexity17.00
Average method complexity2.33
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods12
▷ Static methods00.00%
▷ Public methods12100.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

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin