Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.70ms] Passed 4 tests
An overview of server-side resources used by Author Profile Plus
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 39.76 ▼4.28 |
Dashboard /wp-admin | 3.35 ▲0.05 | 51.00 ▼2.72 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 50.36 ▲0.36 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 87.29 ▼8.15 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.25 ▲1.44 |
Author Profile Plus /wp-admin/options-general.php?page=author-profile-plus | 3.25 | 33.86 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Author Profile Plus
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲46 | 14.13 ▼0.58 | 1.54 ▼0.62 | 47.26 ▲0.67 |
Dashboard /wp-admin | 2,205 ▲25 | 5.81 ▲0.16 | 91.00 ▲1.91 | 41.55 ▼2.92 |
Posts /wp-admin/edit.php | 2,110 ▲10 | 2.01 ▲0.04 | 40.20 ▼0.33 | 41.38 ▲5.92 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 23.25 ▲2.45 | 669.19 ▼44.86 | 52.80 ▼9.31 |
Media Library /wp-admin/upload.php | 1,413 ▲10 | 4.29 ▲0.12 | 98.14 ▼5.44 | 42.99 ▼10.48 |
Author Profile Plus /wp-admin/options-general.php?page=author-profile-plus | 822 | 2.04 | 30.23 | 43.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/author-profile-plus/lib/shortcodes.php:44
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
2 plugin tags: user profile, profile
author-profile-plus/init.php 92% from 13 tests
The principal PHP file in "Author Profile Plus" v. 0.8.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("author-profile-plus.php" instead of "init.php")
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
No dangerous file extensions were detected1,024 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 285 | 144 | 555 |
SVG | 1 | 0 | 0 | 414 |
CSS | 3 | 13 | 9 | 51 |
JavaScript | 1 | 11 | 33 | 4 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 14.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 9 | |
▷ Static methods | 8 | 88.89% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 23 | |
▷ Named functions | 23 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected