Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼8.29ms] Passed 4 tests
This is a short check of server-side resources used by Wp cycle text announcement
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 35.14 ▼19.56 |
Dashboard /wp-admin | 3.35 ▲0.01 | 43.58 ▼11.02 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 45.90 ▲0.29 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 90.77 ▼2.46 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 31.53 ▼0.11 |
Wp cycle text /wp-admin/options-general.php?page=wp-cycle-text-announcement | 3.28 | 31.24 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 19 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_cycletext_content |
wp_cycletext_settings |
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
wpcytxt_title |
Browser metrics Passed 4 tests
Checking browser requirements for Wp cycle text announcement
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲116 | 13.56 ▼0.82 | 7.64 ▲4.79 | 38.24 ▼21.04 |
Dashboard /wp-admin | 2,213 ▲61 | 5.88 ▲0.17 | 95.92 ▼9.93 | 37.29 ▼2.60 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▼0.02 | 35.31 ▼2.45 | 35.46 ▲3.22 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.04 ▼0.03 | 577.20 ▼13.76 | 51.28 ▲3.21 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.24 ▲0.09 | 94.24 ▼0.30 | 41.06 ▼1.39 |
Wp cycle text /wp-admin/options-general.php?page=wp-cycle-text-announcement | 1,040 | 2.06 | 22.83 | 27.11 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 6× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-cycle-text-announcement/pages/cycle-setting-edit.php
- > /wp-content/plugins/wp-cycle-text-announcement/pages/cycle-setting-show.php
- > /wp-content/plugins/wp-cycle-text-announcement/pages/content-show.php
- > /wp-content/plugins/wp-cycle-text-announcement/wp-cycle-text-announcement.php
- > /wp-content/plugins/wp-cycle-text-announcement/pages/content-edit.php
- > /wp-content/plugins/wp-cycle-text-announcement/pages/content-add.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
5 plugin tags: cycle, wordpress, text, announcement, plugin
wp-cycle-text-announcement/wp-cycle-text-announcement.php 92% from 13 tests
The primary PHP file in "Wp cycle text announcement" version 8.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 142 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin2,723 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 118 | 123 | 1,182 |
PHP | 7 | 99 | 45 | 931 |
PO File | 4 | 254 | 354 | 555 |
CSS | 1 | 17 | 20 | 55 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected