83% about-me-widget-by-src

Code Review | About Me Widget - Name, Designation, Photo

WordPress plugin About Me Widget - Name, Designation, Photo scored 83% from 54 tests.

About plugin

  • Plugin page: about-me-widget-b...
  • Plugin version: 1.4.1
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.3.2
  • WordPress version: 5.9.2
  • First release: Apr 12, 2016
  • Latest release: Dec 29, 2019
  • Number of updates: 17
  • Update frequency: every 79.8 days
  • Top authors: sourovroy (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

400+ active / 6,633 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.17MB] [CPU: ▼298.42ms] Passed 4 tests

A check of server-side resources used by About Me Widget - Name, Designation, Photo
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.77 ▲0.2660.22 ▲2.32
Dashboard /wp-admin3.60 ▲0.2044.92 ▲5.59
Posts /wp-admin/edit.php3.83 ▲0.1957.87 ▲11.83
Add New Post /wp-admin/post-new.php7.07 ▲0.10106.00 ▼1,199.83
Media Library /wp-admin/upload.php3.48 ▲0.1833.15 ▼1.74

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 1 new option
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for About Me Widget - Name, Designation, Photo
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,833 ▲7915.30 ▼0.336.03 ▼0.082.45 ▼0.18
Dashboard /wp-admin2,931 ▲666.18 ▲0.05118.17 ▼33.83155.23 ▼29.18
Posts /wp-admin/edit.php2,732 ▲413.24 ▼0.1367.70 ▲4.64144.93 ▼20.08
Add New Post /wp-admin/post-new.php1,736 ▲6820.71 ▲2.57512.87 ▲96.47160.95 ▲6.04
Media Library /wp-admin/upload.php1,736 ▲385.50 ▲0.02145.23 ▲8.41185.52 ▲0.21

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • The uninstall procedure has failed, leaving 1 option in the database
    • widget_amws\about_me_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

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 server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/about-me-widget-by-src/includes/About_Me_Widget.php:10

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


Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: image uploader widget, image upload, widget, widget shortcodes, text widget

about-me-widget-by-src/index.php 77% from 13 tests

This is the main PHP file of "About Me Widget - Name, Designation, Photo" version 1.4.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
  • Domain Path: The domain path folder was not found ("/languages/")
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("about-me-widget-by-src.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin1,466 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.39
Average class complexity33.50
▷ Minimum class complexity5.00
▷ Maximum class complexity65.00
Average method complexity3.12
▷ Minimum method complexity1.00
▷ Maximum method complexity14.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes6100.00%
▷ Final classes116.67%
▷ Static methods22.17%
▷ Public methods5761.96%
▷ Protected methods66.52%
▷ Private methods2931.52%
▷ Named functions00.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
There were not PNG files found in your plugin