Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.35MB] [CPU: ▼1.94ms] Passed 4 tests
A check of server-side resources used by Projects by Serge Liatko
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 44.11 ▲4.96 |
Dashboard /wp-admin | 3.70 ▲0.36 | 70.71 ▲9.35 |
Posts /wp-admin/edit.php | 3.83 ▲0.47 | 50.03 ▲2.81 |
Add New Post /wp-admin/post-new.php | 6.29 ▲0.41 | 86.65 ▼24.88 |
Media Library /wp-admin/upload.php | 3.63 ▲0.40 | 42.36 ▲11.55 |
Categories /wp-admin/edit-tags.php?taxonomy=project_category&post_type=project | 3.62 | 39.06 |
Types /wp-admin/edit-tags.php?taxonomy=project_type&post_type=project | 3.62 | 40.28 |
All Projects /wp-admin/edit.php?post_type=project | 3.68 | 42.11 |
Settings /wp-admin/edit.php?post_type=project&page=projects_plugin | 3.65 | 45.54 |
Add New /wp-admin/post-new.php?post_type=project | 3.84 | 60.07 |
Collections /wp-admin/edit-tags.php?taxonomy=project_collection&post_type=project | 3.62 | 47.18 |
Clients /wp-admin/edit-tags.php?taxonomy=project_client&post_type=project | 3.62 | 37.83 |
Server storage [IO: ▲0.09MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Projects by Serge Liatko: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲106 | 13.27 ▼1.29 | 1.82 ▲0.03 | 45.48 ▲7.24 |
Dashboard /wp-admin | 2,253 ▲68 | 5.84 ▼0.01 | 114.28 ▲9.34 | 42.44 ▲0.01 |
Posts /wp-admin/edit.php | 2,136 ▲47 | 2.00 ▲0.01 | 33.30 ▼7.12 | 34.24 ▼3.26 |
Add New Post /wp-admin/post-new.php | 1,571 ▲50 | 22.98 ▼0.45 | 660.05 ▲1.64 | 51.90 ▼0.88 |
Media Library /wp-admin/upload.php | 1,435 ▲50 | 4.23 ▼0.01 | 93.97 ▼6.42 | 42.99 ▼0.63 |
Categories /wp-admin/edit-tags.php?taxonomy=project_category&post_type=project | 1,306 | 2.14 | 25.80 | 28.53 |
Types /wp-admin/edit-tags.php?taxonomy=project_type&post_type=project | 1,309 | 2.13 | 26.26 | 31.62 |
All Projects /wp-admin/edit.php?post_type=project | 1,165 | 1.95 | 32.15 | 32.48 |
Settings /wp-admin/edit.php?post_type=project&page=projects_plugin | 1,192 | 2.21 | 43.06 | 40.28 |
Add New /wp-admin/post-new.php?post_type=project | 3,198 | 9.38 | 210.68 | 87.51 |
Collections /wp-admin/edit-tags.php?taxonomy=project_collection&post_type=project | 1,278 | 2.13 | 27.37 | 27.62 |
Clients /wp-admin/edit-tags.php?taxonomy=project_client&post_type=project | 1,284 | 2.13 | 24.91 | 27.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/projects-by-serge-liatko/projects-by-serge-liatko.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please a description for screenshot #7 in projects-by-serge-liatko/assets to your readme.txt
- Tags: You are using too many tags: 12 tag instead of maximum 10
projects-by-serge-liatko/projects-by-serge-liatko.php 85% from 13 tests
The entry point to "Projects by Serge Liatko" version 0.5 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 143 characters long)
- 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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin1,656 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 140 | 181 | 1,495 |
CSS | 4 | 0 | 0 | 120 |
JavaScript | 1 | 0 | 0 | 41 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 36.67 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 2.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 74 | |
▷ Static methods | 72 | 97.30% |
▷ Public methods | 74 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
PNG images were not found in this plugin