Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.54ms] Passed 4 tests
This is a short check of server-side resources used by MySpeakingPage by Author Media
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.69 ▼0.82 |
Dashboard /wp-admin | 3.33 ▲0.02 | 43.86 ▼2.97 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 44.53 ▼3.26 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 85.51 ▼6.73 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.57 ▼1.20 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
msp_settings |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for MySpeakingPage by Author Media
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲92 | 13.23 ▼1.42 | 4.56 ▲2.80 | 39.31 ▲0.08 |
Dashboard /wp-admin | 2,231 ▲43 | 5.88 ▲0.94 | 100.67 ▼15.31 | 43.82 ▼3.30 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.02 ▼0.14 | 36.59 ▼4.00 | 39.40 ▲1.86 |
Add New Post /wp-admin/post-new.php | 1,551 ▲32 | 23.36 ▲0.07 | 681.09 ▲8.37 | 63.31 ▲2.62 |
Media Library /wp-admin/upload.php | 1,413 ▲25 | 4.15 ▲0.02 | 95.57 ▼18.42 | 46.33 ▼1.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- db_upgraded
- msp_settings
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
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
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/myspeakingpage/includes/functions.php:94
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/myspeakingpage/includes/admin_page.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/myspeakingpage/includes/extras.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/myspeakingpage/includes/editor.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/myspeakingpage/includes/seo.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/myspeakingpage/includes/functions.php:94
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/myspeakingpage/includes/frontend.php:18
- > 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, but this is not an exhaustive test
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
6 plugin tags: about me, about page, public speaking, audio, bio...
myspeakingpage/myspeakingpage.php Passed 13 tests
"MySpeakingPage by Author Media" version 1.0.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
59 characters long description:
A WordPress Plugin to help speakers advertise their skills.
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
There were no executable files found in this plugin4,057 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 331 | 181 | 1,812 |
PHP | 7 | 205 | 70 | 1,444 |
CSS | 4 | 139 | 52 | 801 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in 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 | 75 | |
▷ Named functions | 75 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
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 |
img/logo.png | 2.48KB | 1.81KB | ▼ 27.13% |