10% diccionario-de-la-biblia

Code Review | Diccionario de la Biblia

WordPress plugin Diccionario de la Biblia scored10%from 54 tests.

About plugin

  • Plugin page: diccionario-de-la...
  • Plugin version: 2.2
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Feb 21, 2016
  • Latest release: Jul 14, 2021
  • Number of updates: 31
  • Update frequency: every 65.5 days
  • Top authors: bibliatodo (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,382 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
  • Install procedure had errors
    • > Deprecated in wp-content/plugins/diccionario-de-la-biblia/diccionario-de-la-biblia.php+100
    Function create_function() is deprecated

Server metrics [RAM: ▼1.97MB] [CPU: ▼59.63ms] Passed 4 tests

Server-side resources used by Diccionario de la Biblia
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.03 ▼1.445.06 ▼39.34
Dashboard /wp-admin2.05 ▼1.305.70 ▼55.89
Posts /wp-admin/edit.php2.05 ▼1.315.53 ▼44.41
Add New Post /wp-admin/post-new.php2.05 ▼3.845.68 ▼98.88
Media Library /wp-admin/upload.php2.05 ▼1.184.35 ▼31.46

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments
db_upgraded
widget_ddlb_diccionariodelabibliawidget

Browser metrics Passed 4 tests

A check of browser resources used by Diccionario de la Biblia
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲5413.42 ▼0.871.68 ▼0.0942.28 ▼2.21
Dashboard /wp-admin2,221 ▲155.90 ▼0.01110.88 ▲6.8046.08 ▲9.73
Posts /wp-admin/edit.php2,103 ▲32.01 ▲0.0137.19 ▲0.9036.14 ▲6.09
Add New Post /wp-admin/post-new.php1,529 ▲323.65 ▲6.20623.23 ▼34.4753.57 ▼6.72
Media Library /wp-admin/upload.php1,403 ▲64.25 ▲0.0298.01 ▼3.2644.66 ▲1.24

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • This plugin did not uninstall without warnings or errors
    • > Deprecated in wp-content/plugins/diccionario-de-la-biblia/diccionario-de-la-biblia.php+100
    Function create_function() is deprecated
  • Zombie WordPress options were found after uninstall: 7 options
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_ddlb_diccionariodelabibliawidget
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
Please fix the following
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/diccionario-de-la-biblia/diccionario-de-la-biblia.php:40

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
No tags were detected

diccionario-de-la-biblia/diccionario-de-la-biblia.php Passed 13 tests

"Diccionario de la Biblia" version 2.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
82 characters long description:
Buscar cualquier palabra en varios diccionarios de la Biblia, desde BibliaTodo.com

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1 line of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1001

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.17
Average class complexity7.00
▷ Minimum class complexity7.00
▷ Maximum class complexity7.00
Average method complexity2.50
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.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