Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.12MB] [CPU: ▼11.74ms] Passed 4 tests
This is a short check of server-side resources used by Rhino Portfolio for WPPB
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 38.69 ▼1.89 |
Dashboard /wp-admin | 3.43 ▲0.09 | 44.71 ▼15.41 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 45.91 ▼7.95 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 84.19 ▼21.71 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 35.61 ▲2.32 |
All Portfolio /wp-admin/edit.php?post_type=portfolio | 3.40 | 37.94 |
Add New Portfolio /wp-admin/post-new.php?post_type=portfolio | 3.49 | 49.46 |
Category /wp-admin/edit-tags.php?taxonomy=portfolio-cat&post_type=portfolio | 3.35 | 32.56 |
Portfolio Tag /wp-admin/edit-tags.php?taxonomy=portfolio-tag&post_type=portfolio | 3.35 | 31.91 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Rhino Portfolio for WPPB
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,972 ▲226 | 13.67 ▼0.68 | 11.60 ▲9.83 | 47.76 ▲7.51 |
Dashboard /wp-admin | 2,238 ▲47 | 5.83 ▲0.95 | 95.58 ▼4.91 | 39.29 ▼0.32 |
Posts /wp-admin/edit.php | 2,124 ▲32 | 2.00 ▲0.01 | 34.64 ▼5.82 | 33.40 ▼1.91 |
Add New Post /wp-admin/post-new.php | 1,562 ▲14 | 23.45 ▲5.32 | 667.99 ▲66.03 | 54.14 ▼6.82 |
Media Library /wp-admin/upload.php | 1,423 ▲38 | 4.28 ▲0.09 | 93.03 ▼16.93 | 41.68 ▼2.91 |
All Portfolio /wp-admin/edit.php?post_type=portfolio | 1,135 | 1.93 | 30.33 | 30.63 |
Add New Portfolio /wp-admin/post-new.php?post_type=portfolio | 2,586 | 7.74 | 173.28 | 65.66 |
Category /wp-admin/edit-tags.php?taxonomy=portfolio-cat&post_type=portfolio | 1,294 | 2.14 | 26.60 | 28.24 |
Portfolio Tag /wp-admin/edit-tags.php?taxonomy=portfolio-tag&post_type=portfolio | 1,269 | 2.13 | 25.93 | 27.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
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 no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/rhino-portfolio/templates/single-portfolio.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rhino-portfolio/post-type/portfolio.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% 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:
- Screenshots: Please add images for these screenshots: #2 (Rhino Portfolio backend), #3 (Rhino Portfolio backend Add new portfolio)
rhino-portfolio/rhino-portfolio.php Passed 13 tests
The main PHP script in "Rhino Portfolio for WPPB" version 1.0.8 is automatically included on every request by WordPress
36 characters long description:
Simple Portfolio for WP Page Builder
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
Everything looks great! No dangerous files found in this plugin1,344 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 20 | 36 | 720 |
PHP | 4 | 69 | 42 | 590 |
JavaScript | 4 | 8 | 34 | 34 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 29.00 |
▷ Minimum class complexity | 29.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 5.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
No PNG files were detected