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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.22ms] Passed 4 tests
Server-side resources used by CODEC Sponsored Content
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 38.95 ▼4.11 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.11 ▼5.93 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.17 ▲0.01 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 91.65 ▲1.14 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.75 ▲1.90 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for CODEC Sponsored Content
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲42 | 14.25 ▼0.10 | 1.71 ▲0.01 | 42.66 ▼2.01 |
Dashboard /wp-admin | 2,209 ▲32 | 5.52 ▼0.06 | 84.97 ▼14.94 | 76.71 ▲32.27 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 2.00 ▼0.01 | 40.13 ▲4.02 | 34.68 ▼0.69 |
Add New Post /wp-admin/post-new.php | 1,553 ▲27 | 23.12 ▼0.23 | 606.85 ▼100.74 | 161.18 ▲105.59 |
Media Library /wp-admin/upload.php | 1,414 ▲14 | 4.15 ▼0.03 | 95.63 ▼13.49 | 72.57 ▲28.29 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% 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
Attributes that require attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
codec-sponsored-content/codec-sponsored-content.php Passed 13 tests
"CODEC Sponsored Content" version 2.1.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
139 characters long description:
Premium monetizing system for quality blogs & publications. Generate revenue by displaying a widget with manually approved branded content.
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
There were no executable files found in this plugin844 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 47 | 15 | 386 |
PHP | 3 | 65 | 50 | 364 |
CSS | 2 | 14 | 1 | 94 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 6.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 compressed PNG files occupy 0.08MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/cropped-Internet-concept-4_clipped_rev_1-1.png | 81.71KB | 82.26KB | 0.00% |
images/codec-logo-small.png | 1.09KB | 0.75KB | ▼ 31.18% |
images/mon.png | 0.87KB | 0.84KB | ▼ 3.04% |