94% wp-bible-embed

Code Review | WP-Bible Embed

WordPress plugin WP-Bible Embed scored 94% from 54 tests.

About plugin

  • Plugin page: wp-bible-embed
  • Plugin version: 2.2
  • PHP version: 7.4.16
  • WordPress compatibility: 1.5-4.1
  • WordPress version: 5.8.1
  • First release: May 28, 2013
  • Latest release: Oct 15, 2015
  • Number of updates: 36
  • Update frequency: every 24.7 days
  • Top authors: aidantcasey (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active / 3,393 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

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

This is a short check of server-side resources used by WP-Bible Embed
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1233.90 ▲10.91
Dashboard /wp-admin3.06 ▲0.0142.77 ▼0.44
Posts /wp-admin/edit.php3.12 ▲0.0044.39 ▲5.79
Add New Post /wp-admin/post-new.php5.43 ▼0.0189.68 ▼587.26
Media Library /wp-admin/upload.php3.01 ▼0.0134.27 ▼1.04

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for WP-Bible Embed
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲10715.93 ▲0.299.02 ▼2.4348.68 ▼1.91
Dashboard /wp-admin2,973 ▲426.08 ▲0.01152.87 ▲9.60116.34 ▼5.96
Posts /wp-admin/edit.php2,739 ▼02.72 ▲0.0069.71 ▲6.2492.54 ▲1.31
Add New Post /wp-admin/post-new.php1,498 ▼17418.83 ▼0.05387.97 ▲10.35107.01 ▼5.28
Media Library /wp-admin/upload.php1,804 ▼65.03 ▼0.02141.24 ▼0.04121.84 ▼3.76

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 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
The following issues need your attention
  • 2× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wp-bible-embed/bibles/kjv_bible.php:25
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wp-bible-embed/wp-bible-embed.php:23

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)
No browser errors were detected


Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: bible, embed, plugin, wp-bible-embed, wp-bible...

wp-bible-embed/wp-bible-embed.php 92% from 13 tests

The main file in "WP-Bible Embed" v. 2.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 171 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
Everything looks great! No dangerous files found in this plugin74,822 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! 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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
bibles/up.png0.71KB0.61KB▼ 13.50%