Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.16ms] Passed 4 tests
Server-side resources used by CC Lexicon Lite
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 37.66 ▲1.82 |
Dashboard /wp-admin | 3.38 ▲0.07 | 48.00 ▲0.38 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 43.89 ▲2.53 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 80.50 ▼12.01 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.51 ▲1.17 |
Add New Lexicon Entry /wp-admin/post-new.php?post_type=lexicon | 3.41 | 53.46 |
Lexicon Entries /wp-admin/edit.php?post_type=lexicon | 3.34 | 38.06 |
Lexicon Category /wp-admin/edit-tags.php?taxonomy=lexicon_category&post_type=lexicon | 3.29 | 34.19 |
Server storage [IO: ▲0.04MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for CC Lexicon Lite
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲145 | 13.41 ▼1.32 | 9.06 ▲7.42 | 39.73 ▲0.23 |
Dashboard /wp-admin | 2,226 ▲46 | 5.63 ▼0.02 | 84.36 ▼4.22 | 39.37 ▲0.45 |
Posts /wp-admin/edit.php | 2,110 ▲10 | 2.00 ▲0.01 | 34.44 ▼0.47 | 32.39 ▼6.06 |
Add New Post /wp-admin/post-new.php | 1,557 ▲31 | 22.90 ▼0.21 | 578.54 ▼30.93 | 67.33 ▲3.72 |
Media Library /wp-admin/upload.php | 1,434 ▲34 | 4.20 ▲0.03 | 103.49 ▲6.97 | 41.56 ▼0.28 |
Add New Lexicon Entry /wp-admin/post-new.php?post_type=lexicon | 2,267 | 7.57 | 164.86 | 61.64 |
Lexicon Entries /wp-admin/edit.php?post_type=lexicon | 1,092 | 1.94 | 33.42 | 28.55 |
Lexicon Category /wp-admin/edit-tags.php?taxonomy=lexicon_category&post_type=lexicon | 1,308 | 2.12 | 31.47 | 31.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 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 50% from 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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cc-lexicon-lite/index.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: You are using too many tags: 12 tag instead of maximum 10
cc-lexicon-lite/index.php 92% from 13 tests
The main PHP file in "CC Lexicon Lite" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("cc-lexicon-lite.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin515 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 74 | 39 | 228 |
CSS | 1 | 0 | 85 | 180 |
PO File | 1 | 28 | 28 | 76 |
JavaScript | 1 | 11 | 12 | 30 |
LESS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 10 | 100.00% |
▷ Public methods | 9 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 10.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin