Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.63MB] [CPU: ▼24.95ms] Passed 4 tests
Analyzing server-side resources used by SKSDEV Toolkit
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 40.21 ▲0.22 |
Dashboard /wp-admin | 3.39 ▲0.04 | 49.49 ▼15.41 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 51.66 ▼10.77 |
Add New Post /wp-admin/post-new.php | 3.17 ▼2.72 | 41.24 ▼73.85 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 39.91 ▲4.87 |
Add New /wp-admin/post-new.php?post_type=portfolio | 3.17 | 34.95 |
Team /wp-admin/edit.php?post_type=team | 3.35 | 41.36 |
Skills /wp-admin/edit.php?post_type=skills | 3.35 | 38.89 |
Add New /wp-admin/post-new.php?post_type=skills | 3.17 | 34.11 |
Add New /wp-admin/post-new.php?post_type=team | 3.17 | 32.47 |
Portfolio /wp-admin/edit.php?post_type=portfolio | 3.35 | 39.16 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for SKSDEV Toolkit
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,905 ▲159 | 13.29 ▼1.24 | 1.71 ▼0.13 | 41.49 ▼1.57 |
Dashboard /wp-admin | 2,305 ▲120 | 4.99 ▲0.05 | 98.65 ▼8.03 | 81.24 ▲37.76 |
Posts /wp-admin/edit.php | 2,182 ▲93 | 2.01 ▼0.01 | 39.85 ▼1.75 | 33.45 ▼1.91 |
Add New Post /wp-admin/post-new.php | 1,604 ▲62 | 23.12 ▲4.77 | 747.12 ▲121.88 | 35.46 ▼19.95 |
Media Library /wp-admin/upload.php | 1,487 ▲105 | 4.23 ▲0.03 | 101.53 ▲0.90 | 73.80 ▲30.29 |
Add New /wp-admin/post-new.php?post_type=portfolio | 2,229 | 7.57 | 169.56 | 111.31 |
Team /wp-admin/edit.php?post_type=team | 1,149 | 1.95 | 36.79 | 28.26 |
Skills /wp-admin/edit.php?post_type=skills | 1,149 | 1.98 | 32.61 | 28.27 |
Add New /wp-admin/post-new.php?post_type=skills | 1,531 | 2.52 | 45.77 | 79.10 |
Add New /wp-admin/post-new.php?post_type=team | 1,746 | 3.55 | 62.21 | 73.15 |
Portfolio /wp-admin/edit.php?post_type=portfolio | 1,146 | 1.95 | 35.02 | 29.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 15 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=team
- > Notice in wp-content/plugins/sksdev-toolkit/posttype/posttype.php+196
Trying to get property 'ID' of non-object
- 4 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=team
- > Notice in wp-content/plugins/sksdev-toolkit/posttype/posttype.php+93
Undefined index: designation
- 4 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=team
- > Notice in wp-content/plugins/sksdev-toolkit/posttype/posttype.php+94
Undefined index: facebook
- 4 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=team
- > Notice in wp-content/plugins/sksdev-toolkit/posttype/posttype.php+95
Undefined index: twitter
- 4 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=team
- > Notice in wp-content/plugins/sksdev-toolkit/posttype/posttype.php+96
Undefined index: linkedin
- 4 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=team
- > Notice in wp-content/plugins/sksdev-toolkit/posttype/posttype.php+196
Undefined index: digit_number
- 5 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=team
- > Notice in wp-content/plugins/sksdev-toolkit/posttype/posttype.php+96
Trying to access array offset on value of type null
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
Please fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/sksdev-toolkit/sksdev-toolkit.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sksdev-toolkit/posttype/posttype.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=portfolio
- > Network (severe)
wp-content/themes/twentytwentyone/images/portfolio.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- 6 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=portfolio
- > Network (severe)
wp-content/themes/twentytwentyone/images/team.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- 6 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=portfolio
- > Network (severe)
wp-content/themes/twentytwentyone/images/skills.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
No tags were found
sksdev-toolkit/sksdev-toolkit.php Passed 13 tests
The main file in "SKSDEV Toolkit" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
70 characters long description:
A specific plugin use in Sksdev Theme to help you register post types.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin147 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 58 | 19 | 147 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.04 |
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 | 9 | |
▷ Named functions | 9 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected