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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.11MB] [CPU: ▼5.10ms] Passed 4 tests
Server-side resources used by CW World News
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.11 | 39.03 ▼1.49 |
Dashboard /wp-admin | 3.44 ▲0.11 | 46.98 ▼8.11 |
Posts /wp-admin/edit.php | 3.49 ▲0.11 | 49.78 ▼1.51 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.11 | 85.61 ▼9.07 |
Media Library /wp-admin/upload.php | 3.37 ▲0.11 | 35.92 ▼1.72 |
CW World News /wp-admin/options-general.php?page=cw-feedzilla | 3.33 | 34.45 |
Server storage [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: no files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
CW World News: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,890 ▲144 | 13.72 ▼1.03 | 4.95 ▲3.18 | 39.80 ▼2.15 |
Dashboard /wp-admin | 2,207 ▲31 | 5.80 ▲0.85 | 97.74 ▼43.95 | 38.67 ▼36.75 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.02 ▲0.02 | 38.78 ▼21.28 | 35.58 ▲1.43 |
Add New Post /wp-admin/post-new.php | 1,517 ▼2 | 17.46 ▼6.06 | 660.29 ▼27.86 | 47.18 ▼12.26 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.21 ▼0.00 | 95.73 ▼17.76 | 40.49 ▼6.84 |
CW World News /wp-admin/options-general.php?page=cw-feedzilla | 990 | 2.07 | 24.77 | 28.95 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/feedzilla-news/cw-feedzilla.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% 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:
- Donate link: Invalid URI ("")
feedzilla-news/cw-feedzilla.php 92% from 13 tests
The entry point to "CW World News" version 2.2 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("feedzilla-news.php" instead of "cw-feedzilla.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected1,018 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 56 | 33 | 641 |
JavaScript | 1 | 23 | 2 | 239 |
CSS | 1 | 20 | 0 | 138 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 13 | |
▷ Named functions | 13 | 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 0% from 2 tests
Image compression 0% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 0.51MB with 0.38MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) img/addthis_button.png | 1.64KB | 0.00KB | ▼ 100.00% |
(invalid) img/addthis_default.png | 3.87KB | 0.00KB | ▼ 100.00% |
img/cadreworks-logo.png | 489.77KB | 262.18KB | ▼ 46.47% |
img/addthis_large.png | 9.10KB | 1.06KB | ▼ 88.37% |
img/feedzilla-logo.png | 6.19KB | 3.42KB | ▼ 44.67% |