Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.21MB] [CPU: ▲0.92ms] Passed 4 tests
This is a short check of server-side resources used by Syngency
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.18 | 44.76 ▲2.68 |
Dashboard /wp-admin | 3.57 ▲0.26 | 54.96 ▲4.22 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 53.71 ▼2.84 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 94.72 ▼0.40 |
Media Library /wp-admin/upload.php | 3.43 ▲0.19 | 47.04 ▲9.76 |
Syngency /wp-admin/options-general.php?page=syngency-admin | 3.37 | 35.63 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 181 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 Syngency
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲51 | 16.06 ▲1.82 | 1.68 ▼0.44 | 42.89 ▼6.39 |
Dashboard /wp-admin | 2,218 ▲41 | 6.61 ▲0.94 | 137.34 ▲39.63 | 41.42 ▼3.22 |
Posts /wp-admin/edit.php | 2,111 ▲8 | 4.12 ▲2.08 | 79.88 ▲33.71 | 33.26 ▼3.67 |
Add New Post /wp-admin/post-new.php | 1,548 ▲20 | 24.86 ▲1.66 | 770.73 ▲82.54 | 40.64 ▼12.11 |
Media Library /wp-admin/upload.php | 1,425 ▲25 | 5.95 ▲1.85 | 160.46 ▲54.81 | 49.39 ▲6.32 |
Syngency /wp-admin/options-general.php?page=syngency-admin | 2,372 | 6.28 | 153.57 | 59.79 |
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 were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=syngency-admin
- > Notice in wp-content/plugins/syngency/admin/class-syngency-admin.php+387
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 89× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Liquid\\TestCase' not found in wp-content/plugins/syngency/vendor/liquid/liquid/tests/Liquid/TemplateTest.php:14
- > PHP Fatal error
Uncaught Error: Class 'Liquid\\AbstractTag' not found in wp-content/plugins/syngency/vendor/liquid/liquid/src/Liquid/Tag/TagIncrement.php:30
- > PHP Fatal error
Uncaught Error: Class 'Liquid\\TestCase' not found in wp-content/plugins/syngency/vendor/liquid/liquid/tests/Liquid/Tag/TagUnlessTest.php:16
- > PHP Fatal error
Uncaught Error: Class 'Liquid\\TestCase' not found in wp-content/plugins/syngency/vendor/liquid/liquid/tests/Liquid/Tag/TagRawTest.php:16
- > PHP Fatal error
Uncaught Error: Class 'Liquid\\TestCase' not found in wp-content/plugins/syngency/vendor/liquid/liquid/tests/Liquid/LiquidTest.php:14
- > PHP Fatal error
require(): Failed opening required 'wp-content/plugins/syngency/vendor/liquid/liquid/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/syngency/vendor/liquid/liquid/examples/advanced.php on line 12
- > PHP Fatal error
Uncaught Error: Class 'Liquid\\LiquidException' not found in wp-content/plugins/syngency/vendor/liquid/liquid/src/Liquid/Exception/ParseException.php:19
- > PHP Fatal error
Uncaught Error: Class 'Liquid\\Exception\\FilesystemException' not found in wp-content/plugins/syngency/vendor/liquid/liquid/src/Liquid/Exception/NotFoundException.php:19
- > PHP Fatal error
Uncaught Error: Class 'Liquid\\TestCase' not found in wp-content/plugins/syngency/vendor/liquid/liquid/tests/Liquid/Tag/TagBlockTest.php:16
- > PHP Fatal error
Uncaught Error: Class 'Liquid\\AbstractTag' not found in wp-content/plugins/syngency/vendor/liquid/liquid/src/Liquid/Tag/TagExtends.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2 in syngency/assets to your readme.txt
syngency/syngency.php Passed 13 tests
The primary PHP file in "Syngency" version 1.3.0 is used by WordPress to initiate all plugin functionality
73 characters long description:
Displays Syngency divisions, models, and galleries on your WordPress site
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
There were no executable files found in this plugin8,539 lines of code in 155 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 120 | 1,973 | 3,767 | 7,483 |
liquid | 12 | 74 | 6 | 431 |
Markdown | 4 | 98 | 0 | 193 |
HTML | 11 | 80 | 0 | 146 |
JSON | 3 | 0 | 0 | 129 |
PO File | 2 | 40 | 40 | 114 |
YAML | 1 | 6 | 0 | 22 |
XML | 1 | 1 | 0 | 13 |
JavaScript | 1 | 3 | 0 | 8 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 5.24 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 58.00 |
Average method complexity | 1.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 126 | |
▷ Abstract classes | 3 | 2.38% |
▷ Concrete classes | 123 | 97.62% |
▷ Final classes | 0 | 0.00% |
Methods | 680 | |
▷ Static methods | 59 | 8.68% |
▷ Public methods | 628 | 92.35% |
▷ Protected methods | 35 | 5.15% |
▷ Private methods | 17 | 2.50% |
Functions | 21 | |
▷ Named functions | 5 | 23.81% |
▷ Anonymous functions | 16 | 76.19% |
Constants | 8 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 8 | 100.00% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin