Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.18ms] Passed 4 tests
A check of server-side resources used by Zica Portfolio Posts
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.62 ▼0.43 |
Dashboard /wp-admin | 3.33 ▼0.02 | 47.36 ▼17.35 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.97 ▼1.51 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 85.80 ▼17.44 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.57 ▲0.50 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=portfolio | 3.24 | 41.70 |
Portfolio /wp-admin/edit.php?post_type=portfolio | 3.30 | 41.28 |
Add New /wp-admin/post-new.php?post_type=portfolio | 3.40 | 55.06 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=portfolio | 3.25 | 39.83 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
Just a few items left to fix
- Illegal file modification detected: 1 file (4.00KB) outside of "wp-content/plugins/zica-portfolio-posts/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
category_children |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Zica Portfolio Posts: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲92 | 14.47 ▲0.16 | 1.89 ▲0.10 | 42.29 ▲1.61 |
Dashboard /wp-admin | 2,253 ▲50 | 5.79 ▼0.09 | 103.61 ▼3.28 | 42.27 ▼3.32 |
Posts /wp-admin/edit.php | 2,135 ▲38 | 2.05 ▲0.03 | 37.07 ▲1.19 | 34.80 ▼3.24 |
Add New Post /wp-admin/post-new.php | 1,574 ▲43 | 23.46 ▲2.47 | 688.93 ▲8.86 | 52.57 ▼15.63 |
Media Library /wp-admin/upload.php | 1,432 ▲32 | 4.18 ▼0.07 | 96.55 ▼13.93 | 43.71 ▼3.61 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=portfolio | 1,490 | 2.15 | 28.95 | 33.81 |
Portfolio /wp-admin/edit.php?post_type=portfolio | 1,179 | 1.94 | 30.34 | 32.11 |
Add New /wp-admin/post-new.php?post_type=portfolio | 2,616 | 7.89 | 176.04 | 65.77 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=portfolio | 1,351 | 2.14 | 27.48 | 30.06 |
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
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- category_children
- widget_recent-comments
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 everything seems fine, this is not 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
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/zica-portfolio-posts/zica-portfolio.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: portfolio, custom post type, new post type
zica-portfolio-posts/zica-portfolio.php 92% from 13 tests
The main PHP script in "Zica Portfolio Posts" version 1.1 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("zica-portfolio-posts.php" instead of "zica-portfolio.php")
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
Good job! No executable or dangerous file extensions detected29 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 2 | 10 | 29 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 1 | |
▷ Named functions | 1 | 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
There are no PNG files in this plugin