Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.54ms] Passed 4 tests
Server-side resources used by WP-Cycle Plus Captions
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 34.65 ▼5.26 |
Dashboard /wp-admin | 3.37 ▲0.06 | 45.18 ▼9.76 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 49.90 ▲1.47 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 91.85 ▼4.26 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.02 ▲1.14 |
WP-Cycle /wp-admin/upload.php?page=wp-cycle | 3.26 | 34.85 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
WP-Cycle Plus Captions: 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,893 ▲158 | 13.68 ▼0.68 | 6.34 ▲4.46 | 40.64 ▼4.64 |
Dashboard /wp-admin | 2,207 ▲19 | 5.81 ▼0.05 | 103.46 ▼15.91 | 41.14 ▼7.32 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▼0.00 | 40.89 ▲4.07 | 35.10 ▲0.21 |
Add New Post /wp-admin/post-new.php | 1,523 ▼10 | 21.00 ▼2.02 | 690.97 ▲12.73 | 53.04 ▼1.51 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.17 ▼0.12 | 95.79 ▼7.16 | 43.70 ▼1.58 |
WP-Cycle /wp-admin/upload.php?page=wp-cycle | 1,039 | 2.03 | 29.19 | 34.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/wp-cycle-plus-captions/wp-cycle.php:49
- > 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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== wp-cycle-plus-captions ===
)
wp-cycle-plus-captions/wp-cycle.php 85% from 13 tests
This is the main PHP file of "WP-Cycle Plus Captions" version 0.4.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 146 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-cycle-plus-captions.php" instead of "wp-cycle.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin341 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 98 | 143 | 339 |
JavaScript | 1 | 0 | 19 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 17 | |
▷ Named functions | 17 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin