84% papyrus-me

Code Review | Papyrus Me!

WordPress plugin Papyrus Me! scored 84% from 54 tests.

About plugin

  • Plugin page: papyrus-me
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-4.7
  • WordPress version: 6.3.1
  • First release: Dec 30, 2016
  • Latest release: Dec 30, 2016
  • Number of updates: 8
  • Update frequency: N/A
  • Top authors: roblaughter (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 820 total downloads

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
Installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼6.54ms] Passed 4 tests

Analyzing server-side resources used by Papyrus Me!
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0039.21 ▼2.70
Dashboard /wp-admin3.31 ▲0.0047.76 ▼8.14
Posts /wp-admin/edit.php3.36 ▲0.0045.89 ▼3.96
Add New Post /wp-admin/post-new.php5.89 ▲0.0082.31 ▼11.37
Media Library /wp-admin/upload.php3.23 ▲0.0035.03 ▲1.02

Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
widget_recent-posts

Browser metrics Passed 4 tests

Papyrus Me!: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,802 ▲4513.20 ▼1.171.73 ▼0.3449.13 ▼4.15
Dashboard /wp-admin2,206 ▲245.83 ▼0.0694.27 ▼21.4336.69 ▼8.67
Posts /wp-admin/edit.php2,086 ▼32.03 ▼0.0233.90 ▼2.7231.64 ▼4.87
Add New Post /wp-admin/post-new.php1,533 ▼123.16 ▲0.00649.97 ▼9.2756.58 ▲7.37
Media Library /wp-admin/upload.php1,388 ▼04.15 ▼0.0395.26 ▼6.0645.68 ▲1.46

Uninstaller [IO: ▲0.00MB] [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
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 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
Almost there! Just fix the following items
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/papyrus-me/papyrus-me.php:11

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 97% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
  • Plugin Name: Please specify the plugin name on the first line ( === papyrus-me === )
Please take inspiration from this readme.txt

papyrus-me/papyrus-me.php Passed 13 tests

"Papyrus Me!" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
56 characters long description:
Transforms all of the text on your site to Papyrus font.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin5 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1285

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.00
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin