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
Installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼0.54ms] Passed 4 tests
A check of server-side resources used by Portfolios
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 44.04 ▲1.51 |
Dashboard /wp-admin | 3.43 ▲0.13 | 46.78 ▼3.02 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 46.74 ▼1.45 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.27 | 107.54 ▲24.00 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 34.01 ▲0.78 |
Add New Item /wp-admin/post-new.php?post_type=portfolio_item | 6.15 | 84.06 |
Portfolio Tags /wp-admin/edit-tags.php?taxonomy=portfolio_tag&post_type=portfolio_item | 3.35 | 33.44 |
Portfolios /wp-admin/edit-tags.php?taxonomy=portfolio&post_type=portfolio_item | 3.35 | 33.96 |
Portfolio Items /wp-admin/edit.php?post_type=portfolio_item | 3.41 | 35.67 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Portfolios
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲67 | 13.22 ▼1.18 | 1.80 ▼0.25 | 44.55 ▼1.23 |
Dashboard /wp-admin | 2,244 ▲55 | 4.81 ▼1.13 | 101.73 ▼17.45 | 36.85 ▼10.07 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 2.06 ▲0.06 | 36.42 ▼2.14 | 33.04 ▼5.08 |
Add New Post /wp-admin/post-new.php | 1,562 ▲48 | 23.18 ▲5.77 | 637.86 ▼19.97 | 52.81 ▼0.59 |
Media Library /wp-admin/upload.php | 1,423 ▲38 | 4.19 ▲0.01 | 98.92 ▼2.53 | 42.62 ▲0.69 |
Add New Item /wp-admin/post-new.php?post_type=portfolio_item | 6,239 | 23.43 | 914.49 | 32.80 |
Portfolio Tags /wp-admin/edit-tags.php?taxonomy=portfolio_tag&post_type=portfolio_item | 1,269 | 2.14 | 26.55 | 29.43 |
Portfolios /wp-admin/edit-tags.php?taxonomy=portfolio&post_type=portfolio_item | 1,297 | 2.14 | 25.23 | 28.44 |
Portfolio Items /wp-admin/edit.php?post_type=portfolio_item | 1,152 | 1.93 | 30.68 | 32.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/portfolios/tb-portfolios.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 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
5 plugin tags: bundle, themeblvd, portfolios, jason bobich, theme blvd
portfolios/tb-portfolios.php 92% from 13 tests
The entry point to "Portfolios" version 1.1.6 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("portfolios.php" instead of "tb-portfolios.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin501 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 216 | 244 | 501 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 70.00 |
▷ Minimum class complexity | 70.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 3.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 26 | |
▷ Static methods | 1 | 3.85% |
▷ Public methods | 25 | 96.15% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.85% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin