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.13MB] [CPU: ▼7.99ms] Passed 4 tests
This is a short check of server-side resources used by Portfolio Gallery With Filters / SILICONFOLIO
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 42.60 ▼1.88 |
Dashboard /wp-admin | 3.44 ▲0.10 | 50.07 ▼19.82 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 50.90 ▲2.09 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 94.88 ▼6.35 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 34.57 ▼3.91 |
Add New /wp-admin/post-new.php?post_type=portfolio | 3.50 | 56.93 |
Portfolio /wp-admin/edit.php?post_type=portfolio | 3.41 | 38.35 |
Categories /wp-admin/edit-tags.php?taxonomy=portfolio-category&post_type=portfolio | 3.36 | 36.18 |
Portfolio Tags /wp-admin/edit-tags.php?taxonomy=portfolio-tags&post_type=portfolio | 3.36 | 42.72 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Portfolio Gallery With Filters / SILICONFOLIO
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,994 ▲248 | 13.59 ▼1.17 | 10.62 ▲8.94 | 40.03 ▼2.81 |
Dashboard /wp-admin | 2,232 ▲55 | 5.56 ▼0.10 | 89.81 ▼1.52 | 44.64 ▼1.16 |
Posts /wp-admin/edit.php | 2,137 ▲37 | 2.04 ▲0.06 | 38.68 ▼0.22 | 37.29 ▼0.74 |
Add New Post /wp-admin/post-new.php | 1,557 ▲29 | 23.09 ▼0.17 | 653.03 ▼28.61 | 52.04 ▼7.77 |
Media Library /wp-admin/upload.php | 1,431 ▲34 | 4.21 ▲0.01 | 98.59 ▼11.58 | 43.76 ▼2.26 |
Add New /wp-admin/post-new.php?post_type=portfolio | 2,753 | 7.65 | 177.47 | 70.52 |
Portfolio /wp-admin/edit.php?post_type=portfolio | 1,151 | 1.96 | 30.32 | 29.92 |
Categories /wp-admin/edit-tags.php?taxonomy=portfolio-category&post_type=portfolio | 1,314 | 2.12 | 28.49 | 32.02 |
Portfolio Tags /wp-admin/edit-tags.php?taxonomy=portfolio-tags&post_type=portfolio | 1,311 | 2.24 | 28.82 | 29.68 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/siliconfolio/siliconfolio.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 26 tag instead of maximum 10
siliconfolio/siliconfolio.php 92% from 13 tests
The main PHP file in "Portfolio Gallery With Filters / SILICONFOLIO" ver. 1.1.7 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 297 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin1,414 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 5 | 23 | 732 |
PHP | 5 | 100 | 79 | 597 |
JavaScript | 4 | 32 | 20 | 85 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 5 | |
▷ Static methods | 1 | 20.00% |
▷ Public methods | 4 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 20.00% |
Functions | 18 | |
▷ Named functions | 18 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
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 |
framework/img/arr.png | 1.00KB | 0.22KB | ▼ 77.84% |