90% about-me-image-widget

Code Review | About Me Image Widget by Angie Makes

WordPress plugin About Me Image Widget by Angie Makes scored 90% from 54 tests.

About plugin

  • Plugin page: about-me-image-wi...
  • Plugin version: 1.4.3
  • PHP version: 7.4.16
  • WordPress compatibility: 4.2.4-4.7.4
  • WordPress version: 5.8.1
  • First release: Aug 17, 2015
  • Latest release: May 10, 2017
  • Number of updates: 11
  • Update frequency: every 57.6 days
  • Top authors: cbaldelomar (100%)

Code review

54 tests

User reviews

1 review

Install metrics

700+ active / 8,882 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

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

A check of server-side resources used by About Me Image Widget by Angie Makes
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.88 ▲0.0430.94 ▲3.56
Dashboard /wp-admin3.10 ▲0.0436.72 ▼7.84
Posts /wp-admin/edit.php3.15 ▲0.0434.81 ▼20.23
Add New Post /wp-admin/post-new.php5.46 ▲0.0376.84 ▼752.58
Media Library /wp-admin/upload.php3.04 ▲0.0424.61 ▼0.55

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 1 new option
New WordPress options
widget_wpc_about_me_image

Browser metrics Passed 4 tests

About Me Image Widget by Angie Makes: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,716 ▲9016.01 ▼0.035.40 ▼0.6176.34 ▼2.05
Dashboard /wp-admin2,933 ▲346.21 ▼0.07116.51 ▼20.10169.98 ▲0.68
Posts /wp-admin/edit.php2,740 ▲33.23 ▲0.0169.05 ▼12.21155.46 ▼19.21
Add New Post /wp-admin/post-new.php3,747 ▼6019.26 ▲1.09405.07 ▼39.76162.13 ▼4.98
Media Library /wp-admin/upload.php1,749 ▼05.52 ▼0.00147.64 ▲2.31189.55 ▲7.59

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
  • Zombie WordPress options detected upon uninstall: 1 option
    • widget_wpc_about_me_image

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

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

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: about me, image widget, about me image widget, about me image

about-me-image-widget/about-me-image-widget.php Passed 13 tests

Analyzing the main PHP file in "About Me Image Widget by Angie Makes" version 1.4.3
71 characters long description:
Add "About Me" image widget, with caption and link, to any widget area.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin330 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript13019150
PHP22910138
Markdown115025
CSS12017

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.26
Average class complexity23.00
▷ Minimum class complexity23.00
▷ Maximum class complexity23.00
Average method complexity5.40
▷ Minimum method complexity1.00
▷ Maximum method complexity14.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods00.00%
▷ Public methods5100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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 are no PNG files in this plugin