Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼148.75ms] Passed 4 tests
Server-side resources used by Recolize
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.78 ▼0.05 | 22.90 ▼11.81 |
Dashboard /wp-admin | 3.12 ▲0.06 | 42.98 ▼3.35 |
Posts /wp-admin/edit.php | 3.23 ▲0.12 | 44.86 ▼0.13 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.04 | 88.66 ▼577.78 |
Media Library /wp-admin/upload.php | 3.06 ▲0.06 | 32.88 ▼2.06 |
Recolize /wp-admin/options-general.php?page=recolize | 3.00 | 29.85 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Recolize
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,707 ▲101 | 15.82 ▼0.18 | 11.26 ▼1.09 | 43.76 ▼8.60 |
Dashboard /wp-admin | 2,978 ▲44 | 5.86 ▼0.35 | 143.40 ▼20.76 | 110.63 ▲3.66 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▲0.01 | 68.06 ▼1.68 | 88.89 ▲2.10 |
Add New Post /wp-admin/post-new.php | 1,679 ▼4 | 18.89 ▲0.38 | 398.57 ▲5.83 | 103.73 ▼3.77 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.00 ▼0.02 | 154.18 ▲4.49 | 110.61 ▼5.05 |
Recolize /wp-admin/options-general.php?page=recolize | 1,045 | 2.18 | 54.28 | 76.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=recolize
- > Notice in wp-content/plugins/recolize/admin/Settings.php+96
Trying to access array offset on value of type bool
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test
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
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: recolize, recommendation, engine, posts, recommended items...
recolize/recolize.php Passed 13 tests
The principal PHP file in "Recolize" v. 1.1.6 is loaded by WordPress automatically on each request
129 characters long description:
This plugin enables you to use the Recolize Recommendation Engine in your WordPress blog to offer a personalized blog experience.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin252 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 62 | 224 | 252 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 3 | 13.64% |
▷ Public methods | 17 | 77.27% |
▷ Protected methods | 3 | 13.64% |
▷ Private methods | 2 | 9.09% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin