Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.53ms] Passed 4 tests
An overview of server-side resources used by Jm Social Media Font Awesome
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 43.33 ▼0.49 |
Dashboard /wp-admin | 3.33 ▲0.03 | 50.01 ▼6.49 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.33 ▼5.98 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 85.50 ▼14.55 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.58 ▼3.09 |
All FA Icons /wp-admin/edit.php?post_type=jm_awesome | 3.30 | 38.03 |
Add New /wp-admin/post-new.php?post_type=jm_awesome | 3.32 | 44.24 |
Server storage [IO: ▲1.83MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Jm Social Media Font Awesome
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 14.25 ▼0.10 | 1.72 ▲0.06 | 42.94 ▼1.28 |
Dashboard /wp-admin | 2,216 ▲36 | 5.62 ▲0.02 | 89.01 ▼11.07 | 39.08 ▼5.06 |
Posts /wp-admin/edit.php | 2,130 ▲33 | 1.95 ▼0.03 | 40.96 ▲4.00 | 36.73 ▲0.27 |
Add New Post /wp-admin/post-new.php | 1,554 ▲28 | 23.01 ▲0.03 | 627.63 ▼46.14 | 65.74 ▲10.18 |
Media Library /wp-admin/upload.php | 1,430 ▲33 | 4.31 ▲0.05 | 98.05 ▼1.64 | 44.95 ▲1.16 |
All FA Icons /wp-admin/edit.php?post_type=jm_awesome | 1,205 | 2.34 | 41.15 | 50.63 |
Add New /wp-admin/post-new.php?post_type=jm_awesome | 6,804 | 7.33 | 244.48 | 81.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/post-new.php?post_type=jm_awesome
- > Notice in wp-content/plugins/jm-social-media-font-awesome/views/form.php+6
Undefined index: jm_awesome_content
- > GET request to /wp-admin/post-new.php?post_type=jm_awesome
- > Notice in wp-content/plugins/jm-social-media-font-awesome/views/form.php+6
Trying to access array offset on value of type null
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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_editor() in wp-content/plugins/jm-social-media-font-awesome/views/form.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: social, icons, jmsocialmedia, media, socialmedia...
jm-social-media-font-awesome/jm-social-media-font-awesome.php 92% from 13 tests
"Jm Social Media Font Awesome" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 152 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin2,867 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
PHP | 3 | 54 | 22 | 171 |
CSS | 5 | 0 | 21 | 13 |
JavaScript | 5 | 0 | 12 | 12 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 8 | |
▷ Named functions | 8 | 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
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.39MB with 0.29MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 218.88KB | 62.54KB | ▼ 71.43% |
screenshot-4.png | 28.21KB | 7.94KB | ▼ 71.85% |
screenshot-2.png | 116.87KB | 31.87KB | ▼ 72.73% |
screenshot-3.png | 36.36KB | 8.62KB | ▼ 76.29% |