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.01MB] [CPU: ▼10.04ms] Passed 4 tests
Server-side resources used by Simple PortfolioX
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.42 ▼0.04 | 26.29 ▼9.48 |
Dashboard /wp-admin | 3.34 ▼0.00 | 48.54 ▼12.53 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 46.58 ▲1.14 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 101.63 ▲16.33 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.08 ▼19.30 |
Add New /wp-admin/post-new.php?post_type=portfoliox | 3.42 | 58.21 |
Category /wp-admin/edit-tags.php?taxonomy=portfoliox_category&post_type=portfoliox | 3.26 | 38.48 |
Tags /wp-admin/edit-tags.php?taxonomy=portofoliox_taxonomy&post_type=portfoliox | 3.26 | 31.85 |
All Portfolio /wp-admin/edit.php?post_type=portfoliox | 3.31 | 33.77 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Simple PortfolioX
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,009 ▲248 | 13.89 ▼0.38 | 10.86 ▲9.14 | 63.59 ▲21.70 |
Dashboard /wp-admin | 2,227 ▲47 | 5.55 ▼0.10 | 95.04 ▲4.93 | 42.50 ▼0.20 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 1.97 ▼0.02 | 34.88 ▼0.10 | 32.07 ▼5.39 |
Add New Post /wp-admin/post-new.php | 1,555 ▲29 | 23.19 ▲0.04 | 652.19 ▼151.90 | 58.26 ▼1.73 |
Media Library /wp-admin/upload.php | 1,435 ▲38 | 4.14 ▼0.02 | 109.60 ▼51.07 | 45.94 ▼21.63 |
Add New /wp-admin/post-new.php?post_type=portfoliox | 2,430 | 7.56 | 176.88 | 67.57 |
Category /wp-admin/edit-tags.php?taxonomy=portfoliox_category&post_type=portfoliox | 1,306 | 2.12 | 27.34 | 31.83 |
Tags /wp-admin/edit-tags.php?taxonomy=portofoliox_taxonomy&post_type=portfoliox | 1,306 | 2.12 | 26.27 | 29.16 |
All Portfolio /wp-admin/edit.php?post_type=portfoliox | 1,108 | 1.96 | 29.41 | 31.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- 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)
The smoke test was a success, however most plugin functionality was not tested
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× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-portfoliox/simple_portfolioX.php:54
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/simple-portfoliox/templates/single-portfolio.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5, #6, #7 in simple-portfoliox/assets to your readme.txt
simple-portfoliox/simple_portfolioX.php 85% from 13 tests
This is the main PHP file of "Simple PortfolioX" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("simple-portfoliox.php" instead of "simple_portfolioX.php")
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
Success! There were no dangerous files found in this plugin990 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 96 | 19 | 618 |
PHP | 2 | 35 | 19 | 260 |
JavaScript | 2 | 11 | 14 | 60 |
Markdown | 1 | 12 | 0 | 28 |
SVG | 1 | 0 | 0 | 24 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 7 | |
▷ Named functions | 7 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin