Benchmarks
Plugin footprint Passed 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 gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼143.52ms] Passed 4 tests
A check of server-side resources used by Woosh Portfolio
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 36.66 ▲15.63 |
Dashboard /wp-admin | 3.09 ▲0.03 | 40.70 ▼7.32 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 43.83 ▼4.27 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 89.91 ▼567.15 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 33.62 ▲4.65 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 9 new files
Database: 1 new table, no new options
New tables |
---|
wp_woosh |
Browser metrics Passed 4 tests
A check of browser resources used by Woosh Portfolio
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,701 ▲105 | 15.86 ▲0.05 | 8.17 ▼0.73 | 46.46 ▼0.09 |
Dashboard /wp-admin | 2,987 ▲56 | 5.87 ▼0.08 | 139.93 ▼2.82 | 106.90 ▼2.96 |
Posts /wp-admin/edit.php | 2,759 ▲23 | 2.70 ▲0.00 | 66.83 ▼0.52 | 85.09 ▼5.20 |
Add New Post /wp-admin/post-new.php | 1,628 ▲130 | 21.40 ▲2.54 | 287.21 ▼80.39 | 109.87 ▼0.40 |
Media Library /wp-admin/upload.php | 1,830 ▲23 | 5.01 ▼0.01 | 165.04 ▲11.85 | 124.41 ▲8.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 75% from 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 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
Please fix the following
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/woosh-portfolio/woosh-admin-page.php:5
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/woosh-portfolio/uninstall.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woosh-portfolio/woosh-admin.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function register_uninstall_hook() in wp-content/plugins/woosh-portfolio/woosh-portfolio.php:12
- > PHP Fatal error
Uncaught Error: Call to a member function query() on null in wp-content/plugins/woosh-portfolio/uninstall.php:4
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/woosh-portfolio/woosh-admin-page.php on line 4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: media library, design, animation, youtube, portfolio...
woosh-portfolio/woosh-portfolio.php Passed 13 tests
The primary PHP file in "Woosh Portfolio" version 1.3.1 is used by WordPress to initiate all plugin functionality
57 characters long description:
Simply display your design projects and descriptive text.
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
There were no executable files found in this plugin594 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 7 | 6 | 209 |
PHP | 4 | 4 | 9 | 205 |
CSS | 1 | 3 | 4 | 180 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 10 | |
▷ Named functions | 10 | 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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected