90% evangelizo

Code Review | evangelizo

WordPress plugin evangelizo scored90%from 54 tests.

About plugin

  • Plugin page: evangelizo
  • Plugin version: 1.0.1
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-5.6.2
  • WordPress version: 6.3.1
  • First release: Mar 9, 2021
  • Latest release: Mar 9, 2021
  • Number of updates: 4
  • Update frequency: N/A
  • Top authors: marverix (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /3,488 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
Install script ran successfully

Server metrics [RAM: ▲0.04MB] [CPU: ▲0.05ms] Passed 4 tests

Server-side resources used by evangelizo
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0442.56 ▲2.55
Dashboard /wp-admin3.34 ▲0.0451.09 ▼2.62
Posts /wp-admin/edit.php3.46 ▲0.1049.88 ▼1.82
Add New Post /wp-admin/post-new.php5.92 ▲0.0495.74 ▲2.10
Media Library /wp-admin/upload.php3.27 ▲0.0436.08 ▲5.47

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

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

Browser metrics Passed 4 tests

A check of browser resources used by evangelizo
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,802 ▲5613.31 ▼1.434.69 ▲2.8542.75 ▼2.28
Dashboard /wp-admin2,206 ▲185.91 ▲1.07100.50 ▼6.7839.94 ▼6.08
Posts /wp-admin/edit.php2,089 ▼01.99 ▼0.0141.04 ▲5.7033.87 ▼2.88
Add New Post /wp-admin/post-new.php1,514 ▼1917.58 ▼5.61678.34 ▲20.9457.91 ▲4.07
Media Library /wp-admin/upload.php1,382 ▼64.20 ▲0.0193.08 ▼4.6343.84 ▲2.32

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success

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 Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: gospel, readings, evangelizo, content, psalm...

evangelizo/evangelizo.php Passed 13 tests

This is the main PHP file of "evangelizo" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
55 characters long description:
Display today readings from the Evangelizo.org project.

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 detected301 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP276190247
PO File113248
CSS1106

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.19
Average class complexity5.00
▷ Minimum class complexity5.00
▷ Maximum class complexity5.00
Average method complexity1.29
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods14
▷ Static methods00.00%
▷ Public methods1392.86%
▷ Protected methods17.14%
▷ Private methods00.00%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants5100.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 were not PNG files found in your plugin