Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/web4pro-about-me/w4p_aboutme.php+13
Function create_function() is deprecated
Server metrics [RAM: ▼1.72MB] [CPU: ▼217.91ms] Passed 4 tests
This is a short check of server-side resources used by Web4pro About me
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.91 ▼0.81 | 5.56 ▼22.98 |
Dashboard /wp-admin | 1.93 ▼1.13 | 5.64 ▼36.19 |
Posts /wp-admin/edit.php | 1.93 ▼1.18 | 6.23 ▼41.51 |
Add New Post /wp-admin/post-new.php | 1.93 ▼3.51 | 5.41 ▼770.96 |
Media Library /wp-admin/upload.php | 1.93 ▼1.08 | 10.32 ▼16.46 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_web4pro_aboutme_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Web4pro About me
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,294 ▲698 | 19.03 ▲3.39 | 25.78 ▲17.64 | 49.21 ▲2.13 |
Dashboard /wp-admin | 3,168 ▲234 | 7.28 ▲1.39 | 157.25 ▲8.88 | 117.60 ▲8.60 |
Posts /wp-admin/edit.php | 2,976 ▲237 | 4.25 ▲1.56 | 93.74 ▲21.33 | 96.88 ▼1.08 |
Add New Post /wp-admin/post-new.php | 1,608 ▼2,135 | 18.91 ▼0.26 | 379.66 ▼103.55 | 111.52 ▼8.92 |
Media Library /wp-admin/upload.php | 1,825 ▲18 | 4.79 ▼0.22 | 121.97 ▼34.58 | 124.40 ▼3.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/web4pro-about-me/w4p_aboutme.php+13
Function create_function() is deprecated
- This plugin did not uninstall successfully, leaving 1 option in the database
- widget_web4pro_aboutme_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/web4pro-about-me/w4p_aboutme.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were 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
3 plugin tags: aboutme information, widget, about me
web4pro-about-me/w4p_aboutme.php 92% from 13 tests
Analyzing the main PHP file in "Web4pro About me" version 1.2
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("web4pro-about-me.php" instead of "w4p_aboutme.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin429 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 17 | 12 | 363 |
CSS | 1 | 12 | 0 | 52 |
JavaScript | 1 | 0 | 0 | 14 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 72.00 |
▷ Minimum class complexity | 72.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 18.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.12MB with 0.08MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 38.44KB | 13.27KB | ▼ 65.47% |
screenshot-3.png | 23.02KB | 8.27KB | ▼ 64.07% |
screenshot-1.png | 65.63KB | 24.38KB | ▼ 62.85% |