88% about-me-3000

Code Review | About Me 3000 widget

WordPress plugin About Me 3000 widget scored 88% from 54 tests.

About plugin

  • Plugin page: about-me-3000
  • Plugin version: 2.2.6
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.5.3
  • WordPress version: 5.9.2
  • First release: Jun 25, 2009
  • Latest release: Nov 3, 2020
  • Number of updates: 195
  • Update frequency: every 21.3 days
  • Top authors: d3wp (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

2,000+ active / 94,427 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▼0.02MB] [CPU: ▼299.01ms] Passed 4 tests

A check of server-side resources used by About Me 3000 widget
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0152.38 ▼1.92
Dashboard /wp-admin3.42 ▲0.0132.78 ▼0.55
Posts /wp-admin/edit.php3.65 ▲0.0145.79 ▲9.05
Add New Post /wp-admin/post-new.php6.89 ▼0.0896.75 ▼1,183.90
Media Library /wp-admin/upload.php3.30 ▲0.0123.14 ▼9.65
About Me /wp-admin/options-general.php?page=About-Me3.2423.03

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 23 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by About Me 3000 widget
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,787 ▲4315.98 ▼0.026.21 ▲0.072.43 ▲0.18
Dashboard /wp-admin2,912 ▲516.10 ▼0.19114.76 ▼18.90157.36 ▼5.45
Posts /wp-admin/edit.php2,710 ▲253.23 ▲0.0166.67 ▲3.93143.66 ▼10.58
Add New Post /wp-admin/post-new.php1,677 ▼1716.39 ▼5.10420.02 ▼19.26155.58 ▲1.03
Media Library /wp-admin/upload.php1,722 ▲275.47 ▼0.07139.94 ▼9.71179.83 ▼16.02
About Me /wp-admin/options-general.php?page=About-Me2,4407.56136.94254.57

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
This plugin's uninstaller ran successfully

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+112
    Undefined index: sent
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+201
    Undefined index: email
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+202
    Undefined index: email_on
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+208
    Undefined index: grav_x
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+209
    Undefined index: grav_y
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+213
    Undefined index: frame_on
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+215
    Undefined index: alignright_on
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+227
    Undefined index: image_url
  • 4 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+238
    Undefined index: grav_on
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+247
    Undefined index: text
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+257
    Undefined index: facebook
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+283
    Undefined index: facebook_on
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+257
    Undefined index: friendfeed
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+283
    Undefined index: friendfeed_on
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+257
    Undefined index: feedburner
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+283
    Undefined index: feedburner_on
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+257
    Undefined index: flickr
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+283
    Undefined index: flickr_on
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+257
    Undefined index: delicious
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+283
    Undefined index: delicious_on
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+257
    Undefined index: github
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+283
    Undefined index: github_on
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+257
    Undefined index: googleplus
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+283
    Undefined index: googleplus_on
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+257
    Undefined index: instagram
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+283
    Undefined index: instagram_on
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+257
    Undefined index: myspace
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+283
    Undefined index: myspace_on
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+257
    Undefined index: linkedin
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+283
    Undefined index: linkedin_on
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+257
    Undefined index: pinterest
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+283
    Undefined index: pinterest_on
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+257
    Undefined index: posterous
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+283
    Undefined index: posterous_on
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+257
    Undefined index: skype
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+283
    Undefined index: skype_on
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+257
    Undefined index: stumbleupon
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+283
    Undefined index: stumbleupon_on
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+257
    Undefined index: technorati
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+283
    Undefined index: technorati_on
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+257
    Undefined index: twitter
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+283
    Undefined index: twitter_on
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+257
    Undefined index: youtube
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+283
    Undefined index: youtube_on
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+257
    Undefined index: tumblr
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+283
    Undefined index: tumblr_on
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+257
    Undefined index: xing
    • > GET request to /wp-admin/options-general.php?page=About-Me
    • > Notice in wp-content/plugins/about-me-3000/aboutme3000.php+283
    Undefined index: xing_on

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
  • 3× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Warning
      Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/about-me-3000/aboutme3000.php on line 12
    • > PHP Fatal error
      require_once(): Failed opening required 'ABSPATH/wp-admin/includes/image.php' (include_path='.:/usr/share/php') in wp-content/plugins/about-me-3000/aboutme3000.php on line 12
    • > PHP Warning
      require_once(ABSPATH/wp-admin/includes/image.php): failed to open stream: No such file or directory in wp-content/plugins/about-me-3000/aboutme3000.php on line 12

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: biography, widget, about me, about us, bio...

about-me-3000/aboutme3000.php 92% from 13 tests

"About Me 3000 widget" version 2.2.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("about-me-3000.php" instead of "aboutme3000.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
Everything looks great! No dangerous files found in this plugin268 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12267268

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.40
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%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
20 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
googleplus.png0.67KB0.59KB▼ 11.22%
myspace.png1.68KB0.48KB▼ 71.48%
youtube.png1.62KB0.43KB▼ 73.23%
instagram.png0.58KB0.49KB▼ 15.20%
stumbleupon.png1.69KB0.48KB▼ 71.56%