Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.55ms] Passed 4 tests
Analyzing server-side resources used by Aggregator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 48.19 ▲9.76 |
Dashboard /wp-admin | 3.37 ▲0.06 | 45.16 ▼3.54 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 48.36 ▲2.40 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 91.95 ▼10.89 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.79 ▼2.17 |
Aggregator /wp-admin/options-general.php?page=aggregator | 3.23 | 31.81 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 15 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
This is an overview of browser requirements for Aggregator
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲131 | 13.32 ▼1.04 | 5.11 ▲3.40 | 36.38 ▼5.12 |
Dashboard /wp-admin | 2,250 ▲62 | 4.87 ▼0.04 | 108.49 ▲6.61 | 39.57 ▼3.58 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.05 ▲0.05 | 39.44 ▲1.56 | 35.26 ▲5.16 |
Add New Post /wp-admin/post-new.php | 1,548 ▲26 | 23.09 ▼0.41 | 624.39 ▲35.01 | 49.71 ▼8.91 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.16 ▼0.05 | 98.56 ▼6.88 | 43.71 ▲0.42 |
Aggregator /wp-admin/options-general.php?page=aggregator | 919 | 2.18 | 25.23 | 32.38 |
Uninstaller [IO: ▲0.01MB] [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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/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
3 plugin tags: seo, aggregator, javascript
aggregator/aggregator.php Passed 13 tests
The principal PHP file in "Aggregator" v. 2.1.2 is loaded by WordPress automatically on each request
20 characters long description:
Aggregates js files.
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 plugin872 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 282 | 506 | 854 |
JavaScript | 4 | 4 | 0 | 16 |
Markdown | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 23.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 3.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 56 | |
▷ Static methods | 2 | 3.57% |
▷ Public methods | 39 | 69.64% |
▷ Protected methods | 14 | 25.00% |
▷ Private methods | 3 | 5.36% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 19 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 19 | 100.00% |
▷ Public constants | 19 | 100.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
No PNG images were found in this plugin