Benchmarks
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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.26 | 60.22 ▲2.32 |
Dashboard /wp-admin | 3.60 ▲0.20 | 44.92 ▲5.59 |
Posts /wp-admin/edit.php | 3.83 ▲0.19 | 57.87 ▲11.83 |
Add New Post /wp-admin/post-new.php | 7.07 ▲0.10 | 106.00 ▼1,199.83 |
Media Library /wp-admin/upload.php | 3.48 ▲0.18 | 33.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 |
---|
widget_amws\about_me_widget |
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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,833 ▲79 | 15.30 ▼0.33 | 6.03 ▼0.08 | 2.45 ▼0.18 |
Dashboard /wp-admin | 2,931 ▲66 | 6.18 ▲0.05 | 118.17 ▼33.83 | 155.23 ▼29.18 |
Posts /wp-admin/edit.php | 2,732 ▲41 | 3.24 ▼0.13 | 67.70 ▲4.64 | 144.93 ▼20.08 |
Add New Post /wp-admin/post-new.php | 1,736 ▲68 | 20.71 ▲2.57 | 512.87 ▲96.47 | 160.95 ▲6.04 |
Media Library /wp-admin/upload.php | 1,736 ▲38 | 5.50 ▲0.02 | 145.23 ▲8.41 | 185.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
- > PHP Fatal error
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 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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 400 | 609 | 1,466 |
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 code | 0.39 |
Average class complexity | 33.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 3.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 1 | 16.67% |
Methods | 92 | |
▷ Static methods | 2 | 2.17% |
▷ Public methods | 57 | 61.96% |
▷ Protected methods | 6 | 6.52% |
▷ Private methods | 29 | 31.52% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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