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.01MB] [CPU: ▼5.24ms] Passed 4 tests
A check of server-side resources used by People Page
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.32 ▼5.10 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.68 ▼1.49 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 49.49 ▼0.36 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 85.49 ▼14.02 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.79 ▲0.92 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
People Page: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.47 ▼1.29 | 4.36 ▲1.70 | 44.07 ▲5.30 |
Dashboard /wp-admin | 2,209 ▲21 | 4.87 ▼0.22 | 107.56 ▼2.88 | 38.05 ▼8.07 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.00 ▲0.00 | 39.24 ▼1.96 | 36.26 ▼2.30 |
Add New Post /wp-admin/post-new.php | 1,542 ▼0 | 18.17 ▼0.06 | 598.62 ▼7.69 | 55.92 ▼11.27 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.26 ▼0.03 | 102.04 ▲4.83 | 44.15 ▼3.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
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
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following items
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/people-page/theme-templates/twentythirteen/people-page.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/people-page/people-page.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function get_userdata() in wp-content/plugins/people-page/theme-templates/twentythirteen/author-bio.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/people-page/theme-templates/twentythirteen/author.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/people-page/theme-templates/twentytwelve/author.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/people-page/theme-templates/twentytwelve/people-page.php:2
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: bios, staff, authors, photos, users
people-page/people-page.php 92% from 13 tests
"People Page" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 185 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin496 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 89 | 66 | 347 |
CSS | 4 | 84 | 8 | 76 |
JavaScript | 2 | 19 | 7 | 73 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
bg-drag-users.png | 1.53KB | 0.43KB | ▼ 71.85% |