Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼7.67ms] Passed 4 tests
Analyzing server-side resources used by Cyclos
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.85 ▼6.45 |
Dashboard /wp-admin | 3.38 ▲0.04 | 48.53 ▼17.68 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 52.50 ▼1.68 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 96.27 ▼4.26 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.24 ▼2.29 |
Cyclos /wp-admin/options-general.php?page=cyclos-options | 3.28 | 33.37 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 39 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
cyclos_version |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Cyclos
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.23 ▼1.15 | 4.75 ▲3.05 | 43.64 ▼0.39 |
Dashboard /wp-admin | 2,207 ▲15 | 5.84 ▼0.09 | 95.13 ▼20.91 | 38.25 ▼3.57 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.05 ▲0.03 | 39.34 ▼1.92 | 34.11 ▼1.18 |
Add New Post /wp-admin/post-new.php | 1,544 ▲138 | 22.99 ▲4.95 | 669.74 ▲36.15 | 52.18 ▼3.84 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.16 ▼0.05 | 99.61 ▼16.60 | 43.72 ▼5.33 |
Cyclos /wp-admin/options-general.php?page=cyclos-options | 1,281 | 2.11 | 27.50 | 36.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 8× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/cyclos/templates/login-form.php:113
- > PHP Fatal error
Uncaught Error: Class 'Cyclos\\Services\\Cyclos4\\Service' not found in wp-content/plugins/cyclos/app/Services/Cyclos4/AccessClientService.php:13
- > PHP Fatal error
Uncaught Error: Class 'Cyclos\\Services\\Cyclos4\\Service' not found in wp-content/plugins/cyclos/app/Services/Cyclos4/CaptchaService.php:13
- > PHP Fatal error
Uncaught Error: Class 'Cyclos\\Services\\Cyclos4\\Service' not found in wp-content/plugins/cyclos/app/Services/Cyclos4/UsersService.php:13
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/cyclos/app/Widgets/LoginWidget.php:13
- > PHP Fatal error
Uncaught Error: Class 'Cyclos\\Services\\Cyclos4\\Service' not found in wp-content/plugins/cyclos/app/Services/Cyclos4/AuthService.php:13
- > PHP Fatal error
Uncaught Error: Class 'Cyclos\\Services\\Cyclos4\\Service' not found in wp-content/plugins/cyclos/app/Services/Cyclos4/SessionsService.php:13
- > PHP Notice
Undefined variable: cyclos_is_forgot_password_enabled in wp-content/plugins/cyclos/templates/login-form.php on line 27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
cyclos/cyclos.php Passed 13 tests
The principal PHP file in "Cyclos" v. 4.1.1 is loaded by WordPress automatically on each request
57 characters long description:
Integrates Cyclos functionality into your WordPress blog.
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
Good job! No executable or dangerous file extensions detected3,574 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 389 | 1,402 | 1,993 |
JavaScript | 11 | 145 | 429 | 1,138 |
Sass | 5 | 68 | 67 | 356 |
CSS | 2 | 12 | 0 | 87 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 16.79 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 2.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 130 | |
▷ Static methods | 3 | 2.31% |
▷ Public methods | 109 | 83.85% |
▷ Protected methods | 21 | 16.15% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 3 | 42.86% |
▷ Anonymous functions | 4 | 57.14% |
Constants | 22 | |
▷ Global constants | 6 | 27.27% |
▷ Class constants | 16 | 72.73% |
▷ Public constants | 16 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected