84% biographical-info-paragraphed

Code Review | Biographical Info Paragraphed

WordPress plugin Biographical Info Paragraphed scored84%from 54 tests.

About plugin

  • Plugin page: biographical-info...
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 2.7.0-5.1.1
  • WordPress version: 6.3.1
  • First release: Sep 21, 2012
  • Latest release: Mar 17, 2019
  • Number of updates: 6
  • Update frequency: every 394.7 days
  • Top authors: sumonrn (100%)

Code review

54 tests

User reviews

1 review

Install metrics

90+ active /2,564 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

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

This is a short check of server-side resources used by Biographical Info Paragraphed
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0040.82 ▼3.02
Dashboard /wp-admin3.31 ▲0.0049.01 ▼7.03
Posts /wp-admin/edit.php3.36 ▲0.0049.12 ▼0.36
Add New Post /wp-admin/post-new.php5.89 ▲0.00104.29 ▲0.80
Media Library /wp-admin/upload.php3.23 ▲0.0039.10 ▼0.32

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget
db_upgraded

Browser metrics Passed 4 tests

An overview of browser requirements for Biographical Info Paragraphed
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲5413.22 ▼0.991.80 ▼0.2443.58 ▼2.29
Dashboard /wp-admin2,218 ▲155.79 ▼0.11100.89 ▼0.7644.19 ▲2.90
Posts /wp-admin/edit.php2,103 ▼02.03 ▲0.0337.25 ▼1.6035.62 ▼4.76
Add New Post /wp-admin/post-new.php1,526 ▼617.64 ▼5.64677.48 ▲28.3058.83 ▼2.68
Media Library /wp-admin/upload.php1,400 ▼04.16 ▼0.06112.66 ▲4.7846.25 ▲1.93

Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function remove_filter() in wp-content/plugins/biographical-info-paragraphed/biographical-info-para.php:14

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
  • Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
Please take inspiration from this readme.txt

biographical-info-paragraphed/biographical-info-para.php 92% from 13 tests

Analyzing the main PHP file in "Biographical Info Paragraphed" version 1.1
It is important to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("biographical-info-paragraphed.php" instead of "biographical-info-para.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin46 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP153146

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
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
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%
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

PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected