Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼8.65ms] Passed 4 tests
An overview of server-side resources used by AWSM Team - Team Showcase Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 43.53 ▲0.45 |
Dashboard /wp-admin | 3.47 ▲0.12 | 51.31 ▼15.39 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 49.88 ▼3.72 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.23 | 85.91 ▼15.95 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 37.82 ▲1.52 |
Add Team /wp-admin/post-new.php?post_type=awsm_team | 3.49 | 46.33 |
Add New Member /wp-admin/post-new.php?post_type=awsm_team_member | 6.12 | 88.82 |
Teams /wp-admin/edit.php?post_type=awsm_team | 3.43 | 36.91 |
Members /wp-admin/edit.php?post_type=awsm_team_member | 3.43 | 35.82 |
Server storage [IO: ▲0.40MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
AWSM Team - Team Showcase Plugin: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,927 ▲156 | 13.61 ▼0.77 | 6.36 ▲4.29 | 42.62 ▼0.27 |
Dashboard /wp-admin | 2,247 ▲62 | 5.90 ▲0.04 | 95.98 ▼11.39 | 38.70 ▼8.00 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.02 ▼0.01 | 35.54 ▼1.96 | 36.78 ▼0.81 |
Add New Post /wp-admin/post-new.php | 1,546 ▲19 | 17.73 ▼5.52 | 687.65 ▲32.17 | 54.73 ▼3.50 |
Media Library /wp-admin/upload.php | 1,426 ▲38 | 4.42 ▲0.24 | 99.91 ▼10.74 | 45.28 ▼0.27 |
Add Team /wp-admin/post-new.php?post_type=awsm_team | 1,797 | 2.92 | 62.80 | 76.57 |
Add New Member /wp-admin/post-new.php?post_type=awsm_team_member | 7,036 | 25.47 | 889.67 | 43.91 |
Teams /wp-admin/edit.php?post_type=awsm_team | 1,098 | 2.01 | 30.78 | 29.89 |
Members /wp-admin/edit.php?post_type=awsm_team_member | 1,107 | 1.94 | 29.43 | 32.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/awsm-team/templates/cards.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/awsm-team/templates/table.php:9
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/awsm-team/templates/cards.php on line 10
- > PHP Notice
Undefined variable: options in wp-content/plugins/awsm-team/templates/cards.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/awsm-team/templates/list.php:9
- > 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 Passed 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
9 plugin tags: users, team layout, team, team page, team shortcode...
awsm-team/awsm-team.php Passed 13 tests
The primary PHP file in "AWSM Team - Team Showcase Plugin" version 1.3.0 is used by WordPress to initiate all plugin functionality
128 characters long description:
The most versatile plugin to create and manage your Team page. Packed with 8 unique presets and number of styles to choose from.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected3,090 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 200 | 54 | 1,913 |
PHP | 8 | 57 | 310 | 928 |
JavaScript | 4 | 14 | 1 | 160 |
SVG | 1 | 0 | 0 | 89 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 73.00 |
▷ Minimum class complexity | 73.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 3.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.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 | 33 | |
▷ Static methods | 1 | 3.03% |
▷ Public methods | 33 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.05MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/close.png | 0.40KB | 0.33KB | ▼ 17.00% |
images/team-vc-icon.png | 2.23KB | 1.19KB | ▼ 46.80% |
images/default-user.png | 44.17KB | 31.61KB | ▼ 28.44% |