84% biblescripturetagger

Code Review | BibleScriptureTagger

WordPress plugin BibleScriptureTagger scored 84% from 54 tests.

About plugin

  • Plugin page: biblescripturetagger
  • Plugin version: 1.0.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 2.3-6.0.1
  • WordPress version: 6.3.1
  • First release: Aug 9, 2022
  • Latest release: Jul 4, 2023
  • Number of updates: 5
  • Update frequency: every 65.8 days
  • Top authors: kevinarise (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 279 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

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

Server-side resources used by BibleScriptureTagger
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0339.38 ▼6.16
Dashboard /wp-admin3.33 ▲0.0347.24 ▼3.20
Posts /wp-admin/edit.php3.38 ▲0.0266.15 ▲19.45
Add New Post /wp-admin/post-new.php5.91 ▲0.0293.91 ▼4.40
Media Library /wp-admin/upload.php3.26 ▲0.0236.06 ▲1.22
BibleScriptureTagger /wp-admin/options-general.php?page=biblescripturetagger/bible-scripture-tagger.php3.2227.93

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options
theysaidso_admin_options
bp_bible_version
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments
db_upgraded
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for BibleScriptureTagger
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,987 ▲23014.75 ▲0.4624.87 ▲22.1443.07 ▼15.83
Dashboard /wp-admin2,210 ▲224.84 ▼1.03113.60 ▼4.4942.64 ▼2.32
Posts /wp-admin/edit.php2,096 ▲42.04 ▼0.0137.95 ▼2.9039.92 ▲7.41
Add New Post /wp-admin/post-new.php1,536 ▼623.28 ▲5.23656.80 ▲49.3750.31 ▼18.09
Media Library /wp-admin/upload.php1,389 ▲44.18 ▼0.0599.46 ▼1.6942.72 ▼0.63
BibleScriptureTagger /wp-admin/options-general.php?page=biblescripturetagger/bible-scripture-tagger.php8402.0227.1327.76

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
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

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/biblescripturetagger/bible-scripture-tagger.php

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

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
10 plugin tags: scripturetagger, bibleportal, verse, bible, reference...

biblescripturetagger/bible-scripture-tagger.php 92% from 13 tests

Analyzing the main PHP file in "BibleScriptureTagger" version 1.0.1
Please take the time to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("biblescripturetagger.php" instead of "bible-scripture-tagger.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin161 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12017161

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.36
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%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin