74% my-bible-reading

Code Review | My Bible Reading

WordPress plugin My Bible Reading scored74%from 54 tests.

About plugin

  • Plugin page: my-bible-reading
  • Plugin version: 1.1.1
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.1
  • WordPress version: 6.3.1
  • First release: Feb 20, 2018
  • Latest release: Nov 8, 2022
  • Number of updates: 9
  • Update frequency: every 191.3 days
  • Top authors: ferventsolutions (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /2,317 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.90MB] [CPU: ▼35.93ms] Passed 4 tests

Analyzing server-side resources used by My Bible Reading
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0844.94 ▲5.00
Dashboard /wp-admin3.06 ▼0.2923.09 ▼31.71
Posts /wp-admin/edit.php3.06 ▼0.3025.31 ▼26.71
Add New Post /wp-admin/post-new.php3.06 ▼2.8325.02 ▼72.12
Media Library /wp-admin/upload.php3.06 ▼0.1723.22 ▼13.17
My Bible Reading /wp-admin/tools.php?page=jswj_mbr_menu_slug3.0622.67

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 8 new options
New WordPress options
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments
jswj-my-bible-reading
theysaidso_admin_options
db_upgraded
widget_recent-posts
mbr_reading_schedule

Browser metrics Passed 4 tests

An overview of browser requirements for My Bible Reading
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,812 ▲6613.23 ▼1.541.66 ▼0.4541.73 ▲0.03
Dashboard /wp-admin2,214 ▲295.81 ▲0.9397.26 ▼6.6940.55 ▼13.25
Posts /wp-admin/edit.php2,097 ▲52.02 ▲0.0239.54 ▼6.4934.17 ▼1.63
Add New Post /wp-admin/post-new.php1,533 ▲1418.24 ▼5.23600.85 ▼82.8454.53 ▼3.03
Media Library /wp-admin/upload.php1,399 ▲84.24 ▲0.0697.11 ▼8.8242.29 ▼2.44
My Bible Reading /wp-admin/tools.php?page=jswj_mbr_menu_slug1,0642.0624.4426.40

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • Uninstall procedure validation failed for this plugin
    • > User notice in wp-includes/functions.php+5905
    Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
  • This plugin did not uninstall successfully, leaving 8 options in the database
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • jswj-my-bible-reading
    • can_compress_scripts
    • theysaidso_admin_options
    • mbr_reading_schedule
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
    • > GET request to /wp-admin/tools.php?page=jswj_mbr_menu_slug
    • > User notice in wp-includes/functions.php+5905
    Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)

SRP Passed 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration Passed 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
3 plugin tags: devotional, devotion, bible

my-bible-reading/my-bible-reading.php Passed 13 tests

This is the main PHP file of "My Bible Reading" version 1.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
89 characters long description:
Encourage Users To Read The Bible With Four Bible Reading Plans And Daily Email Reminders

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
No dangerous file extensions were detected1,447 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PHP63712811,259
CSS22933182
JavaScript1136

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.24
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%
Functions31
▷ Named functions31100.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 are no PNG files in this plugin