Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼4.54ms] Passed 4 tests
Server-side resources used by Genesis Simple Portfolio
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 42.22 ▼0.94 |
Dashboard /wp-admin | 3.40 ▲0.05 | 49.93 ▼13.86 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 47.19 ▼4.00 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 106.08 ▲5.61 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 39.12 ▲0.66 |
All Portfolio Items /wp-admin/edit.php?post_type=portfolio | 3.37 | 39.45 |
Tags /wp-admin/edit-tags.php?taxonomy=portfolio_tag&post_type=portfolio | 3.31 | 34.69 |
Categories /wp-admin/edit-tags.php?taxonomy=portfolio_category&post_type=portfolio | 3.31 | 33.52 |
Add New Item /wp-admin/post-new.php?post_type=portfolio | 3.47 | 56.39 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Genesis Simple Portfolio
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲94 | 13.22 ▼1.07 | 1.92 ▼0.04 | 40.50 ▼1.69 |
Dashboard /wp-admin | 2,246 ▲58 | 4.84 ▼0.03 | 99.97 ▼17.98 | 38.28 ▼5.16 |
Posts /wp-admin/edit.php | 2,126 ▲34 | 2.05 ▲0.02 | 35.18 ▼3.47 | 31.95 ▼0.91 |
Add New Post /wp-admin/post-new.php | 1,567 ▲48 | 23.36 ▼0.03 | 602.23 ▼73.47 | 58.06 ▲3.55 |
Media Library /wp-admin/upload.php | 1,425 ▲37 | 4.24 ▲0.16 | 99.68 ▼14.70 | 46.55 ▼2.62 |
All Portfolio Items /wp-admin/edit.php?post_type=portfolio | 1,194 | 1.93 | 31.35 | 32.40 |
Tags /wp-admin/edit-tags.php?taxonomy=portfolio_tag&post_type=portfolio | 1,271 | 2.14 | 28.84 | 28.59 |
Categories /wp-admin/edit-tags.php?taxonomy=portfolio_category&post_type=portfolio | 1,302 | 2.14 | 26.46 | 28.10 |
Add New Item /wp-admin/post-new.php?post_type=portfolio | 3,003 | 7.88 | 191.67 | 84.57 |
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 did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
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
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/genesis-simple-portfolio/genesis-simple-portfolio.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 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
9 plugin tags: tags, categories, portfolio, genesis, taxonomy...
genesis-simple-portfolio/genesis-simple-portfolio.php Passed 13 tests
Analyzing the main PHP file in "Genesis Simple Portfolio" version 0.5.0
80 characters long description:
Adds a portfolio to any WordPress theme, with support for the Genesis framework.
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
Everything looks great! No dangerous files found in this plugin199 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 41 | 50 | 199 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin