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.08MB] [CPU: ▼6.74ms] Passed 4 tests
An overview of server-side resources used by ElementsOcean
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 43.67 ▼3.18 |
Dashboard /wp-admin | 3.38 ▲0.08 | 47.90 ▼3.10 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 54.58 ▲2.61 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 87.54 ▼21.59 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 40.72 ▲0.91 |
Server storage [IO: ▲3.33MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 68 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for ElementsOcean
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲20 | 14.36 ▼0.12 | 1.63 ▼0.23 | 40.56 ▼2.69 |
Dashboard /wp-admin | 2,209 ▲29 | 5.57 ▼0.08 | 87.20 ▼4.07 | 38.74 ▼4.20 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 2.04 ▲0.04 | 36.95 ▼0.43 | 35.42 ▲0.19 |
Add New Post /wp-admin/post-new.php | 1,540 ▲5 | 23.23 ▲5.26 | 606.85 ▼16.41 | 54.01 ▼12.76 |
Media Library /wp-admin/upload.php | 1,414 ▲14 | 4.23 ▲0.07 | 100.03 ▼4.15 | 42.11 ▼2.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Please a description for screenshot #2 in elements-ocean/assets to your readme.txt
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
elements-ocean/elementsocean.php 92% from 13 tests
Analyzing the main PHP file in "ElementsOcean" version 1.0.3
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("elements-ocean.php" instead of "elementsocean.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 detected36,223 lines of code in 54 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 26 | 1,577 | 389 | 20,740 |
PHP | 14 | 1,253 | 253 | 8,755 |
HTML | 1 | 311 | 0 | 2,826 |
SVG | 3 | 0 | 0 | 1,325 |
Sass | 2 | 8 | 0 | 1,294 |
JavaScript | 8 | 244 | 170 | 1,283 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 18.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 2.99 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 1 | 8.33% |
Methods | 107 | |
▷ Static methods | 3 | 2.80% |
▷ Public methods | 87 | 81.31% |
▷ Protected methods | 20 | 18.69% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 9 | 75.00% |
▷ Class constants | 3 | 25.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin