Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.51ms] Passed 4 tests
An overview of server-side resources used by Oopcee
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.76 ▼6.40 |
Dashboard /wp-admin | 3.31 ▼0.04 | 43.35 ▼16.90 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.04 ▼1.69 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.09 ▼13.06 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.03 ▼0.64 |
Server storage [IO: ▲1.18MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Oopcee: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.17 ▼1.43 | 4.42 ▲2.57 | 39.76 ▼4.55 |
Dashboard /wp-admin | 2,206 ▲21 | 4.90 ▼0.98 | 98.94 ▼13.18 | 37.03 ▼5.01 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▼0.01 | 34.07 ▼2.82 | 32.24 ▼1.42 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.05 ▼0.14 | 594.20 ▼43.56 | 50.97 ▼2.54 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.23 ▲0.03 | 103.01 ▼0.18 | 45.18 ▲4.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
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
Everything seems fine, however this is by no means an exhaustive test
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
Please take a closer look at the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Oopcee' not found in wp-content/plugins/oopcee/controllers/changepassword.php:2
- > PHP Fatal error
Uncaught Error: Class 'Oopcee' not found in wp-content/plugins/oopcee/controllers/oopcee.php:2
- > PHP Fatal error
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: There are too many tags (74 tag instead of maximum 10)
oopcee/oopcee.php Passed 13 tests
The principal PHP file in "Oopcee" v. 1.02 is loaded by WordPress automatically on each request
39 characters long description:
Oopcee integration plugin for wordpress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin13,911 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 7 | 48 | 7,972 |
JavaScript | 8 | 1,063 | 488 | 5,171 |
PHP | 7 | 97 | 65 | 539 |
SVG | 1 | 0 | 0 | 229 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 8.67 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
views/images/icon-2-oopcee.png | 1.31KB | 0.74KB | ▼ 43.41% |
views/images/oopcee-icon-png.png | 1.37KB | 0.71KB | ▼ 48.08% |
views/images/oopcee_logo_grey_huge.png | 6.15KB | 3.11KB | ▼ 49.41% |